summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/DeepInfra.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-22 20:05:22 +0200
committerGitHub <noreply@github.com>2024-04-22 20:05:22 +0200
commit11c071523336d32b60d41c83433614f5c126bd96 (patch)
tree85994a09dedf7176f524720bed6dd596baa2293c /g4f/Provider/DeepInfra.py
parentUpdate cookies.py (diff)
parentFix typo in model list (diff)
downloadgpt4free-11c071523336d32b60d41c83433614f5c126bd96.tar
gpt4free-11c071523336d32b60d41c83433614f5c126bd96.tar.gz
gpt4free-11c071523336d32b60d41c83433614f5c126bd96.tar.bz2
gpt4free-11c071523336d32b60d41c83433614f5c126bd96.tar.lz
gpt4free-11c071523336d32b60d41c83433614f5c126bd96.tar.xz
gpt4free-11c071523336d32b60d41c83433614f5c126bd96.tar.zst
gpt4free-11c071523336d32b60d41c83433614f5c126bd96.zip
Diffstat (limited to 'g4f/Provider/DeepInfra.py')
-rw-r--r--g4f/Provider/DeepInfra.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/DeepInfra.py b/g4f/Provider/DeepInfra.py
index 35ff84a1..a74601e8 100644
--- a/g4f/Provider/DeepInfra.py
+++ b/g4f/Provider/DeepInfra.py
@@ -9,13 +9,14 @@ class DeepInfra(Openai):
label = "DeepInfra"
url = "https://deepinfra.com"
working = True
+ needs_auth = False
has_auth = True
supports_stream = True
supports_message_history = True
default_model = "meta-llama/Meta-Llama-3-70b-instruct"
default_vision_model = "llava-hf/llava-1.5-7b-hf"
model_aliases = {
- 'mixtral-8x22b': 'HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1'
+ 'dbrx-instruct': 'databricks/dbrx-instruct',
}
@classmethod