Fixed reasoning tokens inflating the exact token count

This commit is contained in:
Thorsten Sommer committed 2026-09-23 18:53:01 +02:00
1 parent c23ce9e12a
commit 3277f20f60
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;
}