Remove assistant ContextSnapshot
(#27822)
Motivation for this is to simplify the context types and make it cleaner to add image context. Release Notes: - N/A --------- Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
c729842804
commit
d0276e6666
9 changed files with 340 additions and 376 deletions
|
@ -239,7 +239,7 @@ impl MessageEditor {
|
|||
.ok();
|
||||
thread
|
||||
.update(cx, |thread, cx| {
|
||||
let context = context_store.read(cx).snapshot(cx).collect::<Vec<_>>();
|
||||
let context = context_store.read(cx).context().clone();
|
||||
thread.action_log().update(cx, |action_log, cx| {
|
||||
action_log.clear_reviewed_changes(cx);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue