mirror of
https://github.com/openai/codex.git
synced 2026-08-31 14:28:48 +00:00
## What changed - Treat batch writes containing only `model`, `model_reasoning_effort`, `plan_mode_reasoning_effort`, `service_tier`, or `personality` as defaults for future sessions, even when `reloadUserConfig` is requested. - Keep runtime config reloads and skill/plugin cache invalidation for other config changes, and document which settings remain session-static. - Preserve cached skill listings after session-default writes until a forced reload, with test coverage for each supported default. GitOrigin-RevId: 6d988014cf4758ceb9422a11f7c2bd5fc6b9f90a
59 lines
1.3 KiB
JSON
Generated
59 lines
1.3 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"ConfigEdit": {
|
|
"properties": {
|
|
"keyPath": {
|
|
"type": "string"
|
|
},
|
|
"mergeStrategy": {
|
|
"$ref": "#/definitions/MergeStrategy"
|
|
},
|
|
"value": true
|
|
},
|
|
"required": [
|
|
"keyPath",
|
|
"mergeStrategy",
|
|
"value"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MergeStrategy": {
|
|
"enum": [
|
|
"replace",
|
|
"upsert"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"edits": {
|
|
"items": {
|
|
"$ref": "#/definitions/ConfigEdit"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"expectedVersion": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"filePath": {
|
|
"description": "Path to the config file to write; defaults to the user's `config.toml` when omitted.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"reloadUserConfig": {
|
|
"description": "When true, hot-reload updated runtime settings into loaded threads after writing. Session-static model, reasoning-effort, Plan-mode reasoning-effort, service-tier, and personality defaults are not reloaded.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"edits"
|
|
],
|
|
"title": "ConfigBatchWriteParams",
|
|
"type": "object"
|
|
} |