From 4330f25fee819280d26afa8a8e32064fb0fc77d0 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Wed, 4 Feb 2026 11:38:24 +0900 Subject: [PATCH] revert(call-omo-agent): remove metis/momus from ALLOWED_AGENTS call_omo_agent is for lightweight exploration agents (explore, librarian). metis/momus are consultation agents that should be invoked via delegate_task. Reverts part of #1462 that incorrectly added metis/momus to call_omo_agent. --- src/tools/call-omo-agent/constants.ts | 4 ++-- src/tools/call-omo-agent/tools.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/call-omo-agent/constants.ts b/src/tools/call-omo-agent/constants.ts index 94c3a2b9..c6c1525e 100644 --- a/src/tools/call-omo-agent/constants.ts +++ b/src/tools/call-omo-agent/constants.ts @@ -1,6 +1,6 @@ -export const ALLOWED_AGENTS = ["explore", "librarian", "metis", "momus"] as const +export const ALLOWED_AGENTS = ["explore", "librarian"] as const -export const CALL_OMO_AGENT_DESCRIPTION = `Spawn explore/librarian/metis/momus agent. run_in_background REQUIRED (true=async with task_id, false=sync). +export const CALL_OMO_AGENT_DESCRIPTION = `Spawn explore/librarian agent. run_in_background REQUIRED (true=async with task_id, false=sync). Available: {agents} diff --git a/src/tools/call-omo-agent/tools.ts b/src/tools/call-omo-agent/tools.ts index eb8a4796..bb00f1a2 100644 --- a/src/tools/call-omo-agent/tools.ts +++ b/src/tools/call-omo-agent/tools.ts @@ -47,7 +47,7 @@ export function createCallOmoAgent( prompt: tool.schema.string().describe("The task for the agent to perform"), subagent_type: tool.schema .string() - .describe("The type of specialized agent to use for this task (explore, librarian, metis, or momus)"), + .describe("The type of specialized agent to use for this task (explore or librarian only)"), run_in_background: tool.schema .boolean() .describe("REQUIRED. true: run asynchronously (use background_output to get results), false: run synchronously and wait for completion"),