Update references of Ollama Llama 3.1 to model Llama 3.2 (#20757)

Release Notes:

- N/A
This commit is contained in:
Siddharth M. Bhatia 2024-11-16 08:18:53 -08:00 committed by GitHub
parent 932c7e23c8
commit 97e9137cb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ pub struct OllamaSettings {
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, JsonSchema)] #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, JsonSchema)]
pub struct AvailableModel { pub struct AvailableModel {
/// The model name in the Ollama API (e.g. "llama3.1:latest") /// The model name in the Ollama API (e.g. "llama3.2:latest")
pub name: String, pub name: String,
/// The model's name in Zed's UI, such as in the model selector dropdown menu in the assistant panel. /// The model's name in Zed's UI, such as in the model selector dropdown menu in the assistant panel.
pub display_name: Option<String>, pub display_name: Option<String>,
@ -446,7 +446,7 @@ impl Render for ConfigurationView {
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement { fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {
let is_authenticated = self.state.read(cx).is_authenticated(); let is_authenticated = self.state.read(cx).is_authenticated();
let ollama_intro = "Get up and running with Llama 3.1, Mistral, Gemma 2, and other large language models with Ollama."; let ollama_intro = "Get up and running with Llama 3.2, Mistral, Gemma 2, and other large language models with Ollama.";
let ollama_reqs = let ollama_reqs =
"Ollama must be running with at least one model installed to use it in the assistant."; "Ollama must be running with at least one model installed to use it in the assistant.";
@ -475,7 +475,7 @@ impl Render for ConfigurationView {
.bg(inline_code_bg) .bg(inline_code_bg)
.px_1p5() .px_1p5()
.rounded_md() .rounded_md()
.child(Label::new("ollama run llama3.1")), .child(Label::new("ollama run llama3.2")),
), ),
), ),
) )