mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Configure the default code-mode exec yield timeout (#37352)
## What changed - Add `features.code_mode.default_exec_yield_time_ms`, defaulting to 30 seconds. - Apply the configured default to code-mode `exec` calls that omit `yield_time_ms` and reflect it in the tool description. - Remove the `code_mode_buffered_exec` compatibility feature flag. ## Testing - Cover config loading and tool descriptions for both default and custom yield timeouts. GitOrigin-RevId: 581ffc737b04721c7b5fc81260b1da1cf7d87523
This commit is contained in:
1 parent
9457f8f734
commit
d0c8f422ea
11 files changed
+64
-38
No files matched your search
@@ -1204,7 +1204,7 @@ impl Session {
|
||||
executed_tool_calls,
|
||||
code_mode_service: crate::tools::code_mode::CodeModeService::new(
|
||||
Arc::clone(&code_mode_session_provider),
|
||||
&config.features,
|
||||
&config.code_mode,
|
||||
),
|
||||
tool_search_handler_cache: Default::default(),
|
||||
turn_environments: Arc::clone(&turn_environments),
|
||||
|
||||
Reference in new issue
Block a user