sub2api
sub2api copied to clipboard
fix(gateway): strip spawn_agent tools to prevent encrypted parameters errors
Drops the spawn_agent / functions.spawn_agent tools from Codex request payloads to prevent validation errors on models (like Gemini) that do not support encrypted parameters.