diff --git a/apps/rowboat/app/lib/agents.ts b/apps/rowboat/app/lib/agents.ts index a1f78049..fafcd588 100644 --- a/apps/rowboat/app/lib/agents.ts +++ b/apps/rowboat/app/lib/agents.ts @@ -1100,7 +1100,7 @@ async function* handleMessageOutput( nextAgentName = workflow.startAgent; loopLogger.log(`-- using start agent: ${nextAgentName} || reason: ${current} is a pipeline, no parent agent`); } - } else if (currentAgentConfig?.controlType === 'relinquish_to_parent' || currentAgentConfig?.controlType === 'retain') { + } else if (currentAgentConfig?.controlType === 'relinquish_to_parent') { if (stack.length > 0) { nextAgentName = stack.pop()!; loopLogger.log(`-- popped agent from stack: ${nextAgentName} || reason: ${current} is an internal agent, it put out a message and it has a control type of ${currentAgentConfig?.controlType}, hence the flow of control needs to return to the previous agent`); diff --git a/apps/rowboat/app/lib/copilot/copilot.ts b/apps/rowboat/app/lib/copilot/copilot.ts index 19e201dd..80984874 100644 --- a/apps/rowboat/app/lib/copilot/copilot.ts +++ b/apps/rowboat/app/lib/copilot/copilot.ts @@ -301,7 +301,7 @@ export async function* streamMultiAgentResponse( // call model console.log("🤖 AI MODEL CALL STARTED", { model: COPILOT_MODEL, - maxSteps: 5, + maxSteps: 20, availableTools: ["search_relevant_tools"] });