summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/DeepInfra.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-22 20:02:17 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-22 20:02:17 +0200
commit002a4a1d7fad2b0d980aea6bce351c2b6a579c05 (patch)
tree85994a09dedf7176f524720bed6dd596baa2293c /g4f/Provider/DeepInfra.py
parentAdd gemini-1.5-pro-latest model (diff)
downloadgpt4free-002a4a1d7fad2b0d980aea6bce351c2b6a579c05.tar
gpt4free-002a4a1d7fad2b0d980aea6bce351c2b6a579c05.tar.gz
gpt4free-002a4a1d7fad2b0d980aea6bce351c2b6a579c05.tar.bz2
gpt4free-002a4a1d7fad2b0d980aea6bce351c2b6a579c05.tar.lz
gpt4free-002a4a1d7fad2b0d980aea6bce351c2b6a579c05.tar.xz
gpt4free-002a4a1d7fad2b0d980aea6bce351c2b6a579c05.tar.zst
gpt4free-002a4a1d7fad2b0d980aea6bce351c2b6a579c05.zip
Diffstat (limited to '')
-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