mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
Fix exec JSON output tests for host id
This commit is contained in:
@@ -167,6 +167,7 @@ fn command_execution_started_and_completed_translate_to_thread_events() {
|
||||
command: "ls".to_string(),
|
||||
cwd: PathBuf::from("/tmp/project"),
|
||||
process_id: Some("123".to_string()),
|
||||
host_id: None,
|
||||
source: CommandExecutionSource::UserShell,
|
||||
status: ApiCommandExecutionStatus::InProgress,
|
||||
command_actions: Vec::<CommandAction>::new(),
|
||||
@@ -206,6 +207,7 @@ fn command_execution_started_and_completed_translate_to_thread_events() {
|
||||
command: "ls".to_string(),
|
||||
cwd: PathBuf::from("/tmp/project"),
|
||||
process_id: Some("123".to_string()),
|
||||
host_id: None,
|
||||
source: CommandExecutionSource::UserShell,
|
||||
status: ApiCommandExecutionStatus::Completed,
|
||||
command_actions: Vec::<CommandAction>::new(),
|
||||
@@ -1280,6 +1282,7 @@ fn turn_completion_reconciles_started_items_from_turn_items() {
|
||||
command: "ls".to_string(),
|
||||
cwd: PathBuf::from("/tmp/project"),
|
||||
process_id: Some("123".to_string()),
|
||||
host_id: None,
|
||||
source: CommandExecutionSource::UserShell,
|
||||
status: ApiCommandExecutionStatus::InProgress,
|
||||
command_actions: Vec::<CommandAction>::new(),
|
||||
@@ -1318,6 +1321,7 @@ fn turn_completion_reconciles_started_items_from_turn_items() {
|
||||
command: "ls".to_string(),
|
||||
cwd: PathBuf::from("/tmp/project"),
|
||||
process_id: Some("123".to_string()),
|
||||
host_id: None,
|
||||
source: CommandExecutionSource::UserShell,
|
||||
status: ApiCommandExecutionStatus::Completed,
|
||||
command_actions: Vec::<CommandAction>::new(),
|
||||
|
||||
Reference in New Issue
Block a user