Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Init prompt store in agent eval (#29068)

Michael Sloan327fee4d2253
diff --git a/crates/eval/src/eval.rs b/crates/eval/src/eval.rs
index 96fb7e7253c..49c08201a81 100644
--- a/crates/eval/src/eval.rs
+++ b/crates/eval/src/eval.rs
@@ -478,6 +478,7 @@ pub fn init(cx: &mut App) -> Arc<AgentAppState> {
languages::init(languages.clone(), node_runtime.clone(), cx);
assistant_tools::init(client.http_client().clone(), cx);
context_server::init(cx);
+ prompt_store::init(cx);
let stdout_is_a_pty = false;
let prompt_builder = PromptBuilder::load(fs.clone(), stdout_is_a_pty, cx);
agent::init(fs.clone(), client.clone(), prompt_builder.clone(), cx);