We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f0a6d6 commit b181702Copy full SHA for b181702
2 files changed
backend/src/run-agent-step.ts
@@ -690,7 +690,11 @@ export const loopAgentSteps = async (
690
logger.error(
691
{
692
error: getErrorObject(error),
693
+ agentType,
694
agentId: currentAgentState.agentId,
695
+ runId,
696
+ totalSteps,
697
+ directCreditsUsed: currentAgentState.directCreditsUsed,
698
creditsUsed: currentAgentState.creditsUsed,
699
},
700
'Agent execution failed',
common/src/types/session-state.ts
@@ -25,6 +25,9 @@ export const subgoalSchema = z.object({
25
export type Subgoal = z.infer<typeof subgoalSchema>
26
27
export const AgentStateSchema: z.ZodType<{
28
+ /**
29
+ * @deprecated agentId is replaced by runId
30
+ */
31
agentId: string
32
agentType: AgentTemplateType | null
33
agentContext: Record<string, Subgoal>
0 commit comments