chore(config) Rename config setting to personality (#10314)

## Summary
Let's make the setting name consistent with the SlashCommand!

## Testing
- [x] Updated tests
This commit is contained in:
Dylan Hurd
2026-01-31 20:38:06 -07:00
committed by GitHub
parent 101d359cd7
commit a33fa4bfe5
13 changed files with 64 additions and 68 deletions

View File

@@ -1875,7 +1875,7 @@ impl App {
let profile = self.active_profile.as_deref();
match ConfigEditsBuilder::new(&self.config.codex_home)
.with_profile(profile)
.set_model_personality(Some(personality))
.set_personality(Some(personality))
.apply()
.await
{
@@ -2325,7 +2325,7 @@ impl App {
}
fn on_update_personality(&mut self, personality: Personality) {
self.config.model_personality = Some(personality);
self.config.personality = Some(personality);
self.chat_widget.set_personality(personality);
}