From 897e168fd1dda3ea762e4dcee46ed01a25935524 Mon Sep 17 00:00:00 2001 From: Sean Hatfield Date: Mon, 22 Apr 2024 13:14:27 -0700 Subject: [PATCH] [FEAT] Add support for more groq models (Llama 3 and Gemma) (#1143) add support for more groq models --- .../LLMSelection/GroqAiOptions/index.jsx | 8 +++++++- frontend/src/hooks/useGetProvidersModels.js | 8 +++++++- server/utils/AiProviders/groq/index.js | 15 +++++++++++++-- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/LLMSelection/GroqAiOptions/index.jsx b/frontend/src/components/LLMSelection/GroqAiOptions/index.jsx index c85f0f1e..ceee0d70 100644 --- a/frontend/src/components/LLMSelection/GroqAiOptions/index.jsx +++ b/frontend/src/components/LLMSelection/GroqAiOptions/index.jsx @@ -28,7 +28,13 @@ export default function GroqAiOptions({ settings }) { required={true} className="bg-zinc-900 border-gray-500 text-white text-sm rounded-lg block w-full p-2.5" > - {["llama2-70b-4096", "mixtral-8x7b-32768"].map((model) => { + {[ + "llama2-70b-4096", + "mixtral-8x7b-32768", + "llama3-8b-8192", + "llama3-70b-8192", + "gemma-7b-it", + ].map((model) => { return (