mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
Remove personality feature switch
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -6,7 +6,6 @@ pub struct ModelsManagerConfig {
|
||||
pub model_auto_compact_token_limit: Option<i64>,
|
||||
pub tool_output_token_limit: Option<usize>,
|
||||
pub base_instructions: Option<String>,
|
||||
pub personality_enabled: bool,
|
||||
pub model_supports_reasoning_summaries: Option<bool>,
|
||||
pub model_catalog: Option<ModelsResponse>,
|
||||
}
|
||||
|
||||
@@ -55,8 +55,6 @@ pub fn with_config_overrides(mut model: ModelInfo, config: &ModelsManagerConfig)
|
||||
if let Some(base_instructions) = &config.base_instructions {
|
||||
model.base_instructions = base_instructions.clone();
|
||||
model.model_messages = None;
|
||||
} else if !config.personality_enabled {
|
||||
model.model_messages = None;
|
||||
}
|
||||
|
||||
model
|
||||
|
||||
Reference in New Issue
Block a user