mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Allow model catalogs to override the V2 spawn_agent description (#46123)
## What changed Read the static V2 `spawn_agent` description from `model_messages.tools.multi_agent.spawn_agent.description`, independently of the runtime tool namespace. Missing or null values retain the bundled description; an empty string suppresses it. Preserve generated model guidance, local usage hints, and tool parameters when applying an override. Resolve the description from the active model so it follows mid-turn model changes. ## Testing Add coverage for sparse and empty catalog values, preservation of generated context and outbound tool schemas, and description updates after mid-turn model changes. GitOrigin-RevId: 96cfa180f8f374dc868e4fabc337e49380e405da
This commit is contained in:
1 parent
a4ee536f01
commit
c5d079470e
11 files changed
+349
-74
No files matched your search
@@ -182,6 +182,7 @@ mod skill_approval;
|
||||
mod skills;
|
||||
mod skills_extension;
|
||||
mod spawn_agent_description;
|
||||
mod spawn_agent_tool_descriptions;
|
||||
mod sqlite_state;
|
||||
mod startup_cancellation;
|
||||
mod step_settings;
|
||||
|
||||
Reference in new issue
Block a user