From 4f8026dd200f41cc4e0070c4fd14a7c19e24da54 Mon Sep 17 00:00:00 2001 From: Lester Hairston Date: Thu, 19 Sep 2024 19:27:36 -0500 Subject: [PATCH] groq gemma 2 update --- core/config/types.ts | 2 ++ core/index.d.ts | 2 ++ core/llm/llms/Groq.ts | 1 + extensions/intellij/src/main/resources/config_schema.json | 1 + extensions/vscode/config_schema.json | 1 + extensions/vscode/continue_rc_schema.json | 1 + 6 files changed, 8 insertions(+) diff --git a/core/config/types.ts b/core/config/types.ts index e69c312ab..c571b44df 100644 --- a/core/config/types.ts +++ b/core/config/types.ts @@ -647,6 +647,8 @@ declare global { | "deepseek-7b" | "deepseek-33b" | "neural-chat-7b" + | "gemma-7b-it" + | "gemma2-9b-it" // Anthropic | "claude-3-5-sonnet-20240620" | "claude-3-opus-20240229" diff --git a/core/index.d.ts b/core/index.d.ts index 0c7c9b521..16c48a3ad 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -691,6 +691,8 @@ export type ModelName = | "deepseek-7b" | "deepseek-33b" | "neural-chat-7b" + | "gemma-7b-it" + | "gemma2-9b-it" // Anthropic | "claude-3-5-sonnet-20240620" | "claude-3-opus-20240229" diff --git a/core/llm/llms/Groq.ts b/core/llm/llms/Groq.ts index 7115bcc32..bc05263c9 100644 --- a/core/llm/llms/Groq.ts +++ b/core/llm/llms/Groq.ts @@ -12,6 +12,7 @@ class Groq extends OpenAI { "llama2-70b": "llama2-70b-4096", "mistral-8x7b": "mixtral-8x7b-32768", gemma: "gemma-7b-it", + gemma2: "gemma2-9b-it", "llama3-8b": "llama3-8b-8192", "llama3-70b": "llama3-70b-8192", "llama3.1-8b": "llama-3.1-8b-instant", diff --git a/extensions/intellij/src/main/resources/config_schema.json b/extensions/intellij/src/main/resources/config_schema.json index 911278ebb..5a20c6daf 100644 --- a/extensions/intellij/src/main/resources/config_schema.json +++ b/extensions/intellij/src/main/resources/config_schema.json @@ -1044,6 +1044,7 @@ "llama2-70b", "mistral-8x7b", "gemma", + "gemma2", "llama3-8b", "llama3-70b", "llama3.1-8b", diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index 911278ebb..5a20c6daf 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -1044,6 +1044,7 @@ "llama2-70b", "mistral-8x7b", "gemma", + "gemma2", "llama3-8b", "llama3-70b", "llama3.1-8b", diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index 101296fe6..7a7e54764 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -1149,6 +1149,7 @@ "llama2-70b", "mistral-8x7b", "gemma", + "gemma2", "llama3-8b", "llama3-70b", "llama3.1-8b",