Compare commits

...

3 Commits

Author SHA1 Message Date
Stanislav Alekseev
46825f2068 elixir: Make two more files required by lexical executable (#16382)
I still haven't fixed building dev extensions with rust managed by nix,
so I'd appreciate testing this for me

Release Notes:

- N/A
2024-08-19 19:01:28 -04:00
Bennet Bo Fenner
8b7f4316c7 assistant: Set default provider to zed.dev (#16454)
Do NOT merge until tomorrow

Release Notes:

- N/A

---------

Co-authored-by: Thorsten <thorsten@zed.dev>
2024-08-19 19:01:15 -04:00
Joseph T Lyons
ebc521cb07 v0.150.x preview 2024-08-19 18:40:07 -04:00
4 changed files with 7 additions and 5 deletions

View File

@@ -395,9 +395,9 @@
// The default model to use when creating new contexts.
"default_model": {
// The provider to use.
"provider": "openai",
"provider": "zed.dev",
// The model to use.
"model": "gpt-4o"
"model": "claude-3-5-sonnet"
}
},
// The settings for slash commands.

View File

@@ -543,8 +543,8 @@ mod tests {
assert_eq!(
AssistantSettings::get_global(cx).default_model,
LanguageModelSelection {
provider: "openai".into(),
model: "gpt-4o".into(),
provider: "zed.dev".into(),
model: "claude-3-5-sonnet".into(),
}
);
});

View File

@@ -1 +1 @@
dev
preview

View File

@@ -95,6 +95,8 @@ impl Lexical {
.map_err(|e| format!("failed to download file: {e}"))?;
zed::make_file_executable(&binary_path)?;
zed::make_file_executable(&format!("{version_dir}/lexical/bin/debug_shell.sh"))?;
zed::make_file_executable(&format!("{version_dir}/lexical/priv/port_wrapper.sh"))?;
let entries =
fs::read_dir(".").map_err(|e| format!("failed to list working directory {e}"))?;