mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Retire the personality feature flag and document deprecated settings (#45809)
## What changed - Accept and ignore `features.personality` in user configuration, profiles, and managed requirements. - Remove feature gating from `personality = "none"`, which strips the literal `# Personality` section when preparing model catalog instructions. Preserve explicit base instructions and existing thread instructions. - Document deprecated personality fields in configuration, app-server schemas, and the Python SDK: `friendly` and `pragmatic` no longer select a style, and `supportsPersonality` is always `false`. ## Testing Add regression coverage for ignored legacy flag values and managed requirements, personality opt-out behavior with the flag absent or set to either value, role overrides, and preservation of explicit base instructions, including empty strings. GitOrigin-RevId: 4e12c66b42bfc59d6f151a5b3c28fadc6654ae99
This commit is contained in:
1 parent
4d2807023a
commit
883af106b9
54 files changed
+389
-264
No files matched your search
+10
-5
@@ -9463,7 +9463,7 @@
|
||||
]
|
||||
},
|
||||
"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.",
|
||||
"description": "When true, hot-reload updated runtime settings into loaded threads after writing. Session-static model, reasoning-effort, Plan-mode reasoning-effort, and service-tier defaults are not reloaded. The deprecated personality setting is also not reloaded.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -15256,6 +15256,7 @@
|
||||
},
|
||||
"supportsPersonality": {
|
||||
"default": false,
|
||||
"description": "@deprecated Always false; models no longer support personality selection.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"upgrade": {
|
||||
@@ -15969,6 +15970,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Personality": {
|
||||
"description": "Deprecated: `friendly` and `pragmatic` no longer select a style.",
|
||||
"enum": [
|
||||
"none",
|
||||
"friendly",
|
||||
@@ -23389,7 +23391,8 @@
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
],
|
||||
"description": "@deprecated `friendly` and `pragmatic` no longer select a style. Changing this does not rewrite the thread's existing instructions."
|
||||
},
|
||||
"sandbox": {
|
||||
"anyOf": [
|
||||
@@ -23925,7 +23928,8 @@
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
],
|
||||
"description": "@deprecated Reports the saved setting; `friendly` and `pragmatic` no longer select a style."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"$ref": "#/definitions/v2/SandboxPolicy"
|
||||
@@ -24108,7 +24112,8 @@
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
],
|
||||
"description": "@deprecated `friendly` and `pragmatic` no longer select a style."
|
||||
},
|
||||
"sandbox": {
|
||||
"anyOf": [
|
||||
@@ -25258,7 +25263,7 @@
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Override the personality for this turn and subsequent turns."
|
||||
"description": "@deprecated `friendly` and `pragmatic` no longer select a style. Changing this does not rewrite the thread's existing instructions."
|
||||
},
|
||||
"sandboxPolicy": {
|
||||
"anyOf": [
|
||||
|
||||
Reference in new issue
Block a user