mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-10 04:53:48 +00:00
Fixed reasoning tokens inflating the exact token count
This commit is contained in:
12 files changed
+172
-104
No files matched your search
@@ -1128,7 +1128,7 @@ public abstract class BaseProvider : IProvider, ISecretId
|
||||
{
|
||||
yield return providerResponse.ContainsContent()
|
||||
? providerResponse.GetContent() with { Usage = usage }
|
||||
: new(string.Empty, [], usage);
|
||||
: new(string.Empty, [], Usage: usage);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user