mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-03 19:25:19 +02:00
fix bug that was causing circular handoffs between conv and task agents and a minor copilot change
This commit is contained in:
parent
d159430262
commit
a0bb7e6404
2 changed files with 2 additions and 2 deletions
|
|
@ -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`);
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue