fix(agent-switch): make handoff durable and sync CLI TUI selection
This commit is contained in:
@@ -177,7 +177,6 @@ export function createToolRegistry(args: {
|
||||
const athenaCouncilTool = createAthenaCouncilTool({
|
||||
backgroundManager: managers.backgroundManager,
|
||||
councilConfig: athenaCouncilConfig,
|
||||
client: ctx.client,
|
||||
})
|
||||
|
||||
const isMultimodalLookerEnabled = !(pluginConfig.disabled_agents ?? []).some(
|
||||
@@ -276,7 +275,9 @@ export function createToolRegistry(args: {
|
||||
...backgroundTools,
|
||||
call_omo_agent: callOmoAgent,
|
||||
athena_council: athenaCouncilTool,
|
||||
switch_agent: createSwitchAgentTool(),
|
||||
switch_agent: createSwitchAgentTool({
|
||||
client: ctx.client,
|
||||
}),
|
||||
...(lookAt ? { look_at: lookAt } : {}),
|
||||
task: delegateTask,
|
||||
skill_mcp: skillMcpTool,
|
||||
|
||||
Reference in New Issue
Block a user