summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/needs_auth
diff options
context:
space:
mode:
authornikmosi <nikmosvok@gmail.com>2024-10-21 17:39:06 +0200
committerGitHub <noreply@github.com>2024-10-21 17:39:06 +0200
commit5fc4a9bbc11cf6130bcf60b8063294b8509d8f49 (patch)
tree5cd18e92347b3166be6ce34ffd0f9458edbd27e2 /g4f/Provider/needs_auth
parentMerge pull request #2277 from kqlio67/main (diff)
downloadgpt4free-5fc4a9bbc11cf6130bcf60b8063294b8509d8f49.tar
gpt4free-5fc4a9bbc11cf6130bcf60b8063294b8509d8f49.tar.gz
gpt4free-5fc4a9bbc11cf6130bcf60b8063294b8509d8f49.tar.bz2
gpt4free-5fc4a9bbc11cf6130bcf60b8063294b8509d8f49.tar.lz
gpt4free-5fc4a9bbc11cf6130bcf60b8063294b8509d8f49.tar.xz
gpt4free-5fc4a9bbc11cf6130bcf60b8063294b8509d8f49.tar.zst
gpt4free-5fc4a9bbc11cf6130bcf60b8063294b8509d8f49.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/needs_auth/Groq.py23
1 files changed, 21 insertions, 2 deletions
diff --git a/g4f/Provider/needs_auth/Groq.py b/g4f/Provider/needs_auth/Groq.py
index d11f6a82..027d98bf 100644
--- a/g4f/Provider/needs_auth/Groq.py
+++ b/g4f/Provider/needs_auth/Groq.py
@@ -8,7 +8,26 @@ class Groq(Openai):
url = "https://console.groq.com/playground"
working = True
default_model = "mixtral-8x7b-32768"
- models = ["mixtral-8x7b-32768", "llama2-70b-4096", "gemma-7b-it"]
+ models = [
+ "distil-whisper-large-v3-en",
+ "gemma2-9b-it",
+ "gemma-7b-it",
+ "llama3-groq-70b-8192-tool-use-preview",
+ "llama3-groq-8b-8192-tool-use-preview",
+ "llama-3.1-70b-versatile",
+ "llama-3.1-8b-instant",
+ "llama-3.2-1b-preview",
+ "llama-3.2-3b-preview",
+ "llama-3.2-11b-vision-preview",
+ "llama-3.2-90b-vision-preview",
+ "llama-guard-3-8b",
+ "llava-v1.5-7b-4096-preview",
+ "llama3-70b-8192",
+ "llama3-8b-8192",
+ "mixtral-8x7b-32768",
+ "whisper-large-v3",
+ "whisper-large-v3-turbo",
+ ]
model_aliases = {"mixtral-8x7b": "mixtral-8x7b-32768", "llama2-70b": "llama2-70b-4096"}
@classmethod
@@ -21,4 +40,4 @@ class Groq(Openai):
) -> AsyncResult:
return super().create_async_generator(
model, messages, api_base=api_base, **kwargs
- ) \ No newline at end of file
+ )