mirror of
https://github.com/openai/codex.git
synced 2026-05-04 05:11:37 +03:00
feat: override model and reasoning effort for subagents
Useful for starting the top-level with high/xhigh effort then subagents with different models and/or reasoning levels as appropriate to the task.
This commit is contained in:
@@ -2243,6 +2243,12 @@ pub struct CollabAgentSpawnEndEvent {
|
||||
/// Initial prompt sent to the agent. Can be empty to prevent CoT leaking at the
|
||||
/// beginning.
|
||||
pub prompt: String,
|
||||
/// Model slug used for the newly spawned agent.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub model: Option<String>,
|
||||
/// Reasoning effort used for the newly spawned agent.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub reasoning_effort: Option<ReasoningEffortConfig>,
|
||||
/// Last known status of the new agent reported to the sender agent.
|
||||
pub status: AgentStatus,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user