May 6, 2026

Refactoring, Subagent routing, and reliability improvements

We refined the model's routing logic by moving `subagent` to `DISCOVERABLE`

We refined the model’s routing logic by moving subagent to DISCOVERABLE. This resolves an issue where the model incorrectly chose subagents for simple, dedicated tool calls (like weather lookups) that should have utilized specific tools.

  • SubagentReturnProcessor sets SKIP_INPUT_ROW=True to isolate subagent envelopes.

  • subagent now lives in DISCOVERABLE alongside other externals.

  • Exclusions were added to the multi-step gate to prevent multi-call scenarios using the same dedicated tool from triggering a web_surfer subagent.

  • File tags were normalized to the standard envelope format: [{tool_name}({params})]{response}[end:{tool_name}].