mirror of
https://github.com/openai/codex.git
synced 2026-04-29 10:53:24 +03:00
fix: add ts number annotations for app-server v2 types (#7492)
These will be more ergonomic to work with in Typescript.
This commit is contained in:
@@ -1152,7 +1152,9 @@ impl CodexMessageProcessor {
|
||||
|
||||
let cwd = params.cwd.unwrap_or_else(|| self.config.cwd.clone());
|
||||
let env = create_env(&self.config.shell_environment_policy);
|
||||
let timeout_ms = params.timeout_ms;
|
||||
let timeout_ms = params
|
||||
.timeout_ms
|
||||
.and_then(|timeout_ms| u64::try_from(timeout_ms).ok());
|
||||
let exec_params = ExecParams {
|
||||
command: params.command,
|
||||
cwd,
|
||||
|
||||
Reference in New Issue
Block a user