diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2024-09-29 22:41:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-29 22:41:08 +0200 |
commit | 0deb0f60dd4985017d3fcb946e108be8d1f63846 (patch) | |
tree | e926d6f5551b4eb069e35b41479275056999e6c9 /g4f/Provider/needs_auth/Gemini.py | |
parent | Added gpt-4o provider (diff) | |
parent | feat(g4f/Provider/Nexra.py): enhance model handling and add new providers (diff) | |
download | gpt4free-0deb0f60dd4985017d3fcb946e108be8d1f63846.tar gpt4free-0deb0f60dd4985017d3fcb946e108be8d1f63846.tar.gz gpt4free-0deb0f60dd4985017d3fcb946e108be8d1f63846.tar.bz2 gpt4free-0deb0f60dd4985017d3fcb946e108be8d1f63846.tar.lz gpt4free-0deb0f60dd4985017d3fcb946e108be8d1f63846.tar.xz gpt4free-0deb0f60dd4985017d3fcb946e108be8d1f63846.tar.zst gpt4free-0deb0f60dd4985017d3fcb946e108be8d1f63846.zip |
Diffstat (limited to 'g4f/Provider/needs_auth/Gemini.py')
-rw-r--r-- | g4f/Provider/needs_auth/Gemini.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/needs_auth/Gemini.py b/g4f/Provider/needs_auth/Gemini.py index eddd25fa..8d741476 100644 --- a/g4f/Provider/needs_auth/Gemini.py +++ b/g4f/Provider/needs_auth/Gemini.py @@ -54,6 +54,7 @@ class Gemini(AsyncGeneratorProvider): url = "https://gemini.google.com" needs_auth = True working = True + default_model = 'gemini' image_models = ["gemini"] default_vision_model = "gemini" _cookies: Cookies = None @@ -305,4 +306,4 @@ class Conversation(BaseConversation): ) -> None: self.conversation_id = conversation_id self.response_id = response_id - self.choice_id = choice_id
\ No newline at end of file + self.choice_id = choice_id |