agent: write latest profile change to default setting (#30408)

Reverts back to previous behavior where we update your settings so we
can load a new thread from your last configuration.

Release Notes:

- agent: Persist profile changes for new threads
This commit is contained in:
Ben Brandt 2025-05-09 19:09:19 +02:00 committed by GitHub
parent cf8f003916
commit 1dfddf0a29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 2 deletions

View file

@ -200,7 +200,13 @@ impl MessageEditor {
});
let profile_selector = cx.new(|cx| {
ProfileSelector::new(thread.clone(), thread_store, editor.focus_handle(cx), cx)
ProfileSelector::new(
fs,
thread.clone(),
thread_store,
editor.focus_handle(cx),
cx,
)
});
Self {