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.

AI: Fix Github Copilot edit predictions failing to start (#41934)

Anthony Eid94ff4aa4b2b6
diff --git a/crates/copilot/src/copilot.rs b/crates/copilot/src/copilot.rs
index 41c8a17c2d2..ed18a199bf2 100644
--- a/crates/copilot/src/copilot.rs
+++ b/crates/copilot/src/copilot.rs
@@ -489,7 +489,11 @@ impl Copilot {
let node_path = node_runtime.binary_path().await?;
ensure_node_version_for_copilot(&node_path).await?;
- let arguments: Vec<OsString> = vec![server_path.into(), "--stdio".into()];
+ let arguments: Vec<OsString> = vec![
+ "--experimental-sqlite".into(),
+ server_path.into(),
+ "--stdio".into(),
+ ];
let binary = LanguageServerBinary {
path: node_path,
arguments,