mirror of
https://github.com/openai/codex.git
synced 2026-04-30 17:36:40 +00:00
feat: monitor role (#12364)
This commit is contained in:
@@ -1076,7 +1076,7 @@ pub struct ConfigToml {
|
||||
|
||||
/// Maximum poll window for background terminal output (`write_stdin`), in milliseconds.
|
||||
/// Default: `300000` (5 minutes).
|
||||
pub background_terminal_timeout: Option<u64>,
|
||||
pub background_terminal_max_timeout: Option<u64>,
|
||||
|
||||
/// Optional absolute path to the Node runtime used by `js_repl`.
|
||||
pub js_repl_node_path: Option<AbsolutePathBuf>,
|
||||
@@ -1804,7 +1804,7 @@ impl Config {
|
||||
.transpose()?
|
||||
.unwrap_or_default();
|
||||
let background_terminal_max_timeout = cfg
|
||||
.background_terminal_timeout
|
||||
.background_terminal_max_timeout
|
||||
.unwrap_or(DEFAULT_MAX_BACKGROUND_TERMINAL_TIMEOUT_MS)
|
||||
.max(MIN_EMPTY_YIELD_TIME_MS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user