feat: show effective model in spawn agent event (#14944)

Show effective model after the full config layering for the sub agent
This commit is contained in:
jif-oai
2026-03-17 16:58:58 +00:00
committed by GitHub
parent ef36d39199
commit e8add54e5d
4 changed files with 224 additions and 7 deletions

View File

@@ -3263,9 +3263,9 @@ pub struct CollabAgentSpawnEndEvent {
/// Initial prompt sent to the agent. Can be empty to prevent CoT leaking at the
/// beginning.
pub prompt: String,
/// Model requested for the spawned agent.
/// Effective model used by the spawned agent after inheritance and role overrides.
pub model: String,
/// Reasoning effort requested for the spawned agent.
/// Effective reasoning effort used by the spawned agent after inheritance and role overrides.
pub reasoning_effort: ReasoningEffortConfig,
/// Last known status of the new agent reported to the sender agent.
pub status: AgentStatus,