mirror of
https://github.com/openai/codex.git
synced 2026-11-27 15:30:27 +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
@@ -1164,7 +1164,12 @@
|
||||
"type": "string"
|
||||
},
|
||||
"personality": {
|
||||
"$ref": "#/definitions/Personality"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/Personality"
|
||||
}
|
||||
],
|
||||
"description": "Deprecated: `friendly` and `pragmatic` no longer select a style."
|
||||
},
|
||||
"plan_mode_reasoning_effort": {
|
||||
"$ref": "#/definitions/ReasoningEffort"
|
||||
@@ -3200,6 +3205,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Personality": {
|
||||
"description": "Deprecated: `friendly` and `pragmatic` no longer select a style.",
|
||||
"enum": [
|
||||
"none",
|
||||
"friendly",
|
||||
@@ -7028,7 +7034,7 @@
|
||||
"$ref": "#/definitions/Personality"
|
||||
}
|
||||
],
|
||||
"description": "Optionally specify a personality for the model"
|
||||
"description": "Deprecated: `friendly` and `pragmatic` no longer select a style."
|
||||
},
|
||||
"plan_mode_reasoning_effort": {
|
||||
"$ref": "#/definitions/ReasoningEffort"
|
||||
|
||||
Reference in new issue
Block a user