mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
Add a feature flag for Code Mode tool description ordering (#51690)
## What changed Register `code_mode_tool_description_first` as an under-development feature, disabled by default, for placing tool descriptions before namespace descriptions in Code Mode. Add the boolean option to the configuration schema. GitOrigin-RevId: 5d7e2f7cef87a040f9d96b0d97c2697880c12c17
This commit is contained in:
@@ -815,6 +815,9 @@
|
||||
"code_mode_prewarm": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"code_mode_tool_description_first": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"code_mode_tool_search": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -7035,6 +7038,9 @@
|
||||
"code_mode_prewarm": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"code_mode_tool_description_first": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"code_mode_tool_search": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
||||
@@ -137,6 +137,8 @@ pub enum Feature {
|
||||
CodeModePrewarm,
|
||||
/// Terminate active code mode cells when their turn is interrupted.
|
||||
CodeModeInterrupt,
|
||||
/// Put each tool's description before its namespace description in Code Mode.
|
||||
CodeModeToolDescriptionFirst,
|
||||
/// Restrict model-visible tools to code mode entrypoints (`exec`, `wait`).
|
||||
CodeModeOnly,
|
||||
/// Keep eligible MCP/app and dynamic tools deferred in exec, only in Code Mode Only.
|
||||
@@ -1155,6 +1157,12 @@ pub const FEATURES: &[FeatureSpec] = &[
|
||||
stage: Stage::UnderDevelopment,
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::CodeModeToolDescriptionFirst,
|
||||
key: "code_mode_tool_description_first",
|
||||
stage: Stage::UnderDevelopment,
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::InstantInterrupt,
|
||||
key: "instant_interrupt",
|
||||
|
||||
Reference in New Issue
Block a user