Skip to content

Commit

Permalink
Update references of Ollama Llama 3.1 to model Llama 3.2 (#20757)
Browse files Browse the repository at this point in the history
Release Notes:

- N/A
  • Loading branch information
Sid-MB authored Nov 16, 2024
1 parent 932c7e2 commit 97e9137
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/language_model/src/provider/ollama.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct OllamaSettings {

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, JsonSchema)]
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,
/// 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>,
Expand Down Expand Up @@ -446,7 +446,7 @@ impl Render for ConfigurationView {
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {
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 =
"Ollama must be running with at least one model installed to use it in the assistant.";

Expand Down Expand Up @@ -475,7 +475,7 @@ impl Render for ConfigurationView {
.bg(inline_code_bg)
.px_1p5()
.rounded_md()
.child(Label::new("ollama run llama3.1")),
.child(Label::new("ollama run llama3.2")),
),
),
)
Expand Down

0 comments on commit 97e9137

Please sign in to comment.