diff --git a/packages/ai/src/agents/analyst-agent/analyst-agent.ts b/packages/ai/src/agents/analyst-agent/analyst-agent.ts index 749c2eb60..0742c1843 100644 --- a/packages/ai/src/agents/analyst-agent/analyst-agent.ts +++ b/packages/ai/src/agents/analyst-agent/analyst-agent.ts @@ -118,7 +118,7 @@ export function createAnalystAgent(analystAgentOptions: AnalystAgentOptions) { messages: [systemMessage, datasetsSystemMessage, ...messages], stopWhen: STOP_CONDITIONS, toolChoice: 'required', - maxOutputTokens: 10000, + maxOutputTokens: 25000, temperature: 0, experimental_repairToolCall: async (repairContext) => { return repairToolCall({ diff --git a/packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent.ts b/packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent.ts index f69d56c7f..f6cb7ac10 100644 --- a/packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent.ts +++ b/packages/ai/src/agents/think-and-prep-agent/think-and-prep-agent.ts @@ -151,7 +151,7 @@ export function createThinkAndPrepAgent(thinkAndPrepAgentSchema: ThinkAndPrepAge messages: [systemMessage, datasetsSystemMessage, ...messages], stopWhen: STOP_CONDITIONS, toolChoice: 'required', - maxOutputTokens: 10000, + maxOutputTokens: 25000, temperature: 0, experimental_repairToolCall: async (repairContext) => { return repairToolCall({