hive-agent: no hard-coded context window sizes, the window is what the API reports
This commit is contained in:
parent
4a109fa038
commit
1bfee54414
1 changed files with 47 additions and 124 deletions
|
|
@ -49,7 +49,8 @@ export interface AgentStateHeader {
|
|||
model_source: InferenceSource;
|
||||
effort_source: InferenceSource;
|
||||
resolved_model: string | null;
|
||||
context_window_tokens: number;
|
||||
// Null until the agent's first turn reports the window.
|
||||
context_window_tokens: number | null;
|
||||
ctx_usage: TokenUsage | null;
|
||||
cost_usage: TokenUsage | null;
|
||||
// Absent from an agent that predates the field.
|
||||
|
|
|
|||
Loading…
Reference in a new issue