[错误]: 任务卡上下文 context_id 只注入默认配置文件,而其他 hermes-profile 的会话永远无法接收到
Ekko Studio Version 0.7.24 Hermes Runtime and Version (if applicable) No response Bug Description mcp__ekko_studio_interaction__ekko_studio_update_plan requires the context_id parameter, and the documentation states "provided by Studio in the current run instructions." In the session of the default profile, Studio injects <studio_task_plan_context>... Current turn context_id="<uuid>"... </studio_task_plan_context> at the end of the user message. The tool call succeeds, and there is a corresponding row in the task_plans table in hermes-web-ui.db (plan_id = mcp:<uuid>). In the session of other profiles (via CLI bridge, source=cli), the injection block and context_id do not appear in the user message or system prompt. The agent cannot obtain a valid credential, and can only guess → the server always returns "Task plan context is unavailable or has expired." Steps to Reproduce Create or use any non-default Hermes profile (hermes -p <name>). Open a session with the profile from Studio (CLI bridge, source=cli), and send a message at random. Let the agent tool_search find mcp__ekko_studio_interaction__ekko_studio_update_plan and try to call it. Observe: The <studio_task_plan_context> injection block does not exist in the session log; any context_id returns "Task plan context is unavailable or has expired"; there is no row in the task_plans table with the session_id. Compare the session of the default profile: Step 4 is normal. Expected Behavior Studio sessions of all profiles inject <studio_task_plan_context> at each round (or explicitly document that only the default is supported, and write it in the tool description to avoid model calls that inevitably fail with an ID). (Recommended) The server returns an error message with instructions for the same session N times in a row with an invalid context_id, such as "no context_id was issued for this session; do not fabricate one." Logs / Error Messages Ekko Studio (webui) 0.7.24 (resources/webui/package.json) Hermes runtime 0.21.3 win-x64 (E:\hermes-studio\desktop-runtime\hermes\0.21.3) OS Windows 11 Pro Build 26200, host name yy-4090 Hermes profiles default (normal) + multiple employee profiles: lead-designer-k, market-analyst-mia, godot-dev-mo (all abnormal) MCP configuration ekko-studio-interaction server's config.yaml for each profile is the same byte by byte (command/args/env/enabled are the same), and HERMES_WEB_UI_PROFILE: default is written the same in all envs
内容来源: EKKOLearnAI/hermes-studio