Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LLama/Batched/Conversation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
_disposed = true;

// Remove this conversation from the KV cache
Executor.Context.NativeHandle.KvCacheRemove(ConversationId, 0, _end);
Executor.Context.NativeHandle.KvCacheRemove(ConversationId, -1, -1);

// Prevent finalizer from running
GC.SuppressFinalize(this);
Expand Down Expand Up @@ -410,7 +410,7 @@
}

/// <summary>
/// Removes all tokens starting from the given position
/// Removes <see cref="count"/> tokens starting from <see cref="start"/>

Check warning on line 413 in LLama/Batched/Conversation.cs

View workflow job for this annotation

GitHub Actions / Test (linux-release)

XML comment has cref attribute 'start' that could not be resolved

Check warning on line 413 in LLama/Batched/Conversation.cs

View workflow job for this annotation

GitHub Actions / Test (linux-release)

XML comment has cref attribute 'count' that could not be resolved

Check warning on line 413 in LLama/Batched/Conversation.cs

View workflow job for this annotation

GitHub Actions / Test (windows-release)

XML comment has cref attribute 'start' that could not be resolved

Check warning on line 413 in LLama/Batched/Conversation.cs

View workflow job for this annotation

GitHub Actions / Test (windows-release)

XML comment has cref attribute 'count' that could not be resolved

Check warning on line 413 in LLama/Batched/Conversation.cs

View workflow job for this annotation

GitHub Actions / Test (osx-release)

XML comment has cref attribute 'start' that could not be resolved

Check warning on line 413 in LLama/Batched/Conversation.cs

View workflow job for this annotation

GitHub Actions / Test (osx-release)

XML comment has cref attribute 'count' that could not be resolved
/// </summary>
/// <param name="start">Start position (inclusive)</param>
/// <param name="count">Number of tokens</param>
Expand Down
Loading