feat: add context token estimates to llm usage (#9295)

* base

* generate

* update
This commit is contained in:
jnjpng
2026-02-04 18:14:32 -08:00
committed by Caren Thomas
parent e8db3ac89a
commit c801866d89
3 changed files with 23 additions and 0 deletions

View File

@@ -37646,6 +37646,18 @@
],
"title": "Reasoning Tokens",
"description": "The number of reasoning/thinking tokens generated. None if not reported by provider."
},
"context_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Context Tokens",
"description": "Estimate of tokens currently in the context window."
}
},
"type": "object",