summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/needs_auth/OpenaiChat.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-22 01:27:48 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-22 01:27:48 +0200
commit4bc4d635bca9c1c7633ff87ff24b757c653ff60f (patch)
tree6ed0cfc6cd53a3ab32565d6199a929ac1ea6ad80 /g4f/Provider/needs_auth/OpenaiChat.py
parentImprove python support (diff)
downloadgpt4free-4bc4d635bca9c1c7633ff87ff24b757c653ff60f.tar
gpt4free-4bc4d635bca9c1c7633ff87ff24b757c653ff60f.tar.gz
gpt4free-4bc4d635bca9c1c7633ff87ff24b757c653ff60f.tar.bz2
gpt4free-4bc4d635bca9c1c7633ff87ff24b757c653ff60f.tar.lz
gpt4free-4bc4d635bca9c1c7633ff87ff24b757c653ff60f.tar.xz
gpt4free-4bc4d635bca9c1c7633ff87ff24b757c653ff60f.tar.zst
gpt4free-4bc4d635bca9c1c7633ff87ff24b757c653ff60f.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/needs_auth/OpenaiChat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/Provider/needs_auth/OpenaiChat.py b/g4f/Provider/needs_auth/OpenaiChat.py
index 3d6e9858..515230f0 100644
--- a/g4f/Provider/needs_auth/OpenaiChat.py
+++ b/g4f/Provider/needs_auth/OpenaiChat.py
@@ -44,6 +44,7 @@ class OpenaiChat(AsyncGeneratorProvider, ProviderModelMixin):
supports_message_history = True
supports_system_message = True
default_model = None
+ default_vision_model = "gpt-4-vision"
models = ["gpt-3.5-turbo", "gpt-4", "gpt-4-gizmo"]
model_aliases = {
"text-davinci-002-render-sha": "gpt-3.5-turbo",