mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-12 05:13:48 +00:00
Fixed Hugging Face rejecting chats which offer tools
This commit is contained in:
5 files changed
+73
-9
No files matched your search
@@ -86,7 +86,7 @@ public sealed class ConversationTokenCounter(RustService rustService, ILogger<Co
|
||||
var growing = new Dictionary<string, int>(StringComparer.Ordinal);
|
||||
var historyTokens = 0;
|
||||
var toolTokens = 0;
|
||||
var draftTokens = 0;
|
||||
int draftTokens;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user