Q128: every model call of a run is recorded with its purpose and listed in the run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 20:55:18 -04:00
1 parent 1f484df894
commit 6afd7bef2a
25 files changed
+189 -22

No files matched your search

+1
View File
@@ -72,6 +72,7 @@ export async function runAgentLoop(deps: AgentRunLoopDeps, input: AgentRunLoopIn
fitContextBudget(input.instructions, messages, allTools, input.inputBudgetTokens, iteration);
throwIfRunStopped();
const turn = await untilStopped(deps.providers.runToolTurn({
purpose: "agent_turn",
orgId: input.orgId,
providerId: input.providerId,
workspaceId: input.workspaceId,