mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
app-server: preserve command item cwd
This commit is contained in:
@@ -823,7 +823,7 @@ fn sample_command_execution_item_with_id(
|
||||
ThreadItem::CommandExecution {
|
||||
id: id.to_string(),
|
||||
command: "echo hi".to_string(),
|
||||
cwd: test_path_buf("/tmp").abs(),
|
||||
cwd: serde_json::from_value(json!("/tmp")).expect("API cwd should deserialize"),
|
||||
process_id: Some("pid-1".to_string()),
|
||||
source: CommandExecutionSource::Agent,
|
||||
status,
|
||||
|
||||
Reference in New Issue
Block a user