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
|
@ -252,7 +252,8 @@ impl TerminalInlineAssistant {
|
|||
|
||||
attach_context_to_message(
|
||||
&mut request_message,
|
||||
assist.context_store.read(cx).snapshot(cx),
|
||||
assist.context_store.read(cx).context().iter(),
|
||||
cx,
|
||||
);
|
||||
|
||||
request_message.content.push(prompt.into());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue