mirror of
https://github.com/openai/codex.git
synced 2026-11-22 07:13:50 +00:00
Add tool namespace metadata configuration (#37389)
## What changed - Add `features.tool_registry.include_tool_namespaces_info` to the TOML model, generated schema, and resolved runtime configuration. The setting defaults to `false` and controls whether per-turn request metadata includes the resolved tool namespace inventory. - Preserve the resolved setting in session configuration locks. - Cover top-level and profile-scoped strict configuration, deserialization, resolution, and lock-file persistence. GitOrigin-RevId: 74124086c0d7de30094b411001f0ec0af490935d
This commit is contained in:
1 parent
0bdce9f424
commit
4ee41929ea
7 files changed
+43
-6
No files matched your search
@@ -95,6 +95,8 @@ fn strict_config_accepts_tool_registry_config() {
|
||||
for contents in [
|
||||
"[features.tool_registry]\nerror_on_tool_collisions = true\n",
|
||||
"[profiles.work.features.tool_registry]\nerror_on_tool_collisions = true\n",
|
||||
"[features.tool_registry]\ninclude_tool_namespaces_info = true\n",
|
||||
"[profiles.work.features.tool_registry]\ninclude_tool_namespaces_info = true\n",
|
||||
] {
|
||||
assert_eq!(
|
||||
config_error_from_ignored_toml_fields::<ConfigToml>(path, contents),
|
||||
|
||||
Reference in new issue
Block a user