Skip to content

Commit 99cc2aa

Browse files
committed
log fullresponsechunk *after* messages
1 parent 0acd224 commit 99cc2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/run-agent-step.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,11 @@ export const runAgentStep = async (
366366
shouldEndTurn,
367367
duration: Date.now() - startTime,
368368
fullResponse,
369-
fullResponseChunks,
370369
finalMessageHistoryWithToolResults: agentState.messageHistory,
371370
toolCalls,
372371
toolResults,
373372
agentContext: newAgentContext,
373+
fullResponseChunks,
374374
},
375375
`End agent ${agentType} step ${iterationNum} (${userInputId}${prompt ? ` - Prompt: ${prompt.slice(0, 20)}` : ''})`,
376376
)

0 commit comments

Comments
 (0)