assistant2: Render messages in the thread using a list
(#21491)
This PR updates the rendering of the messages in the current thread to use a `gpui::list`. Release Notes: - N/A
This commit is contained in:
parent
db34f29300
commit
aca23da971
3 changed files with 57 additions and 40 deletions
|
@ -56,7 +56,7 @@ impl MessageEditor {
|
|||
});
|
||||
|
||||
self.thread.update(cx, |thread, cx| {
|
||||
thread.insert_user_message(user_message);
|
||||
thread.insert_user_message(user_message, cx);
|
||||
let mut request = thread.to_completion_request(request_kind, cx);
|
||||
|
||||
if self.use_tools {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue