mirror of
https://github.com/openai/codex.git
synced 2026-05-04 05:11:37 +03:00
Make collab spawn metadata accurate on completion
This commit is contained in:
@@ -1669,7 +1669,7 @@ async fn turn_start_file_change_approval_v2() -> Result<()> {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn turn_start_emits_spawn_agent_item_with_model_metadata_v2() -> Result<()> {
|
||||
async fn turn_start_omits_spawn_agent_model_metadata_until_completion_v2() -> Result<()> {
|
||||
skip_if_no_network!(Ok(()));
|
||||
|
||||
const CHILD_PROMPT: &str = "child: do work";
|
||||
@@ -1782,8 +1782,8 @@ async fn turn_start_emits_spawn_agent_item_with_model_metadata_v2() -> Result<()
|
||||
sender_thread_id: thread.id.clone(),
|
||||
receiver_thread_ids: Vec::new(),
|
||||
prompt: Some(CHILD_PROMPT.to_string()),
|
||||
model: Some(REQUESTED_MODEL.to_string()),
|
||||
reasoning_effort: Some(REQUESTED_REASONING_EFFORT),
|
||||
model: None,
|
||||
reasoning_effort: None,
|
||||
agents_states: HashMap::new(),
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user