mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
codex: convert remote exec cwd at wire boundary
Keep unified_exec request state as AbsolutePathBuf, but serialize the cwd to PathBuf when constructing exec-server ExecParams. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -253,7 +253,7 @@ impl<'a> ToolRuntime<UnifiedExecRequest, UnifiedExecProcess> for UnifiedExecRunt
|
||||
let exec_params = codex_exec_server::ExecParams {
|
||||
process_id: req.process_id.to_string().into(),
|
||||
argv: command,
|
||||
cwd: req.cwd.clone(),
|
||||
cwd: req.cwd.to_path_buf(),
|
||||
env,
|
||||
tty: req.tty,
|
||||
arg0: None,
|
||||
|
||||
Reference in New Issue
Block a user