mirror of
https://github.com/openai/codex.git
synced 2026-05-02 18:37:01 +00:00
got rid of experimental_mode for configtoml (#12077)
This commit is contained in:
@@ -6210,10 +6210,7 @@ impl ChatWidget {
|
||||
if !config.features.enabled(Feature::CollaborationModes) {
|
||||
return None;
|
||||
}
|
||||
let mut mask = match config.experimental_mode {
|
||||
Some(kind) => collaboration_modes::mask_for_kind(models_manager, kind)?,
|
||||
None => collaboration_modes::default_mask(models_manager)?,
|
||||
};
|
||||
let mut mask = collaboration_modes::default_mask(models_manager)?;
|
||||
if let Some(model_override) = model_override {
|
||||
mask.model = Some(model_override.to_string());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user