File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import path from 'path'
22
3+ import { MAX_AGENT_STEPS_DEFAULT } from '@codebuff/common/constants/agents'
4+
35import {
46 createEventHandler ,
57 createStreamChunkHandler ,
@@ -109,7 +111,7 @@ export const createRunConfig = (params: CreateRunConfigParams) => {
109111 content,
110112 previousRun : previousRunState ?? undefined ,
111113 agentDefinitions,
112- maxAgentSteps : 100 ,
114+ maxAgentSteps : MAX_AGENT_STEPS_DEFAULT ,
113115 handleStreamChunk : createStreamChunkHandler ( eventHandlerState ) ,
114116 handleEvent : createEventHandler ( eventHandlerState ) ,
115117 signal : params . signal ,
Original file line number Diff line number Diff line change @@ -92,4 +92,4 @@ export const AGENT_NAME_TO_TYPES = Object.entries(AGENT_NAMES).reduce(
9292 { } as Record < string , string [ ] > ,
9393)
9494
95- export const MAX_AGENT_STEPS_DEFAULT = 150
95+ export const MAX_AGENT_STEPS_DEFAULT = 200
You can’t perform that action at this time.
0 commit comments