Q17: budget every model request against the provider's context window
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f42ab62dbd
commit
f4d16eb46a
26 files changed
+247
-52
No files matched your search
@@ -72,7 +72,7 @@ describe("tool history compaction", () => {
|
||||
tools: { db: connection.db, organization, chat },
|
||||
},
|
||||
{
|
||||
orgId, providerId: "p", workspaceId: null, instructions: "i", initialUserTurn: "go",
|
||||
orgId, providerId: "p", inputBudgetTokens: 112_000, workspaceId: null, instructions: "i", initialUserTurn: "go",
|
||||
toolContext: { orgId, agent: { id: agentId, modelProviderId: null, modelId: null }, taskProjectId: null, taskGoalId: null, taskId: null, sourceThreadId: null, workspace: null },
|
||||
},
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user