fix(claude_sdk,conversations,rotation): context size from the last api call, new-day text by rotation reason
This commit is contained in:
1 parent
2895e677c0
commit
8d252f9867
8 files changed
+120
-16
No files matched your search
@@ -299,6 +299,8 @@ class Usage(SQLModel, table=True):
|
||||
output_tokens: int = 0
|
||||
cache_read_tokens: int = 0
|
||||
cache_creation_tokens: int = 0
|
||||
context_tokens: int | None = Field(default=None)
|
||||
"""Input of the turn's last API call - the real context size."""
|
||||
cost_usd: float | None = Field(default=None)
|
||||
duration_ms: int | None = Field(default=None)
|
||||
num_turns: int | None = Field(default=None)
|
||||
|
||||
Reference in new issue
Block a user