diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-11-18 17:53:15 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-11-18 17:53:15 +0100 |
commit | 8bc456f3b60743fb9a728bf3831fbb9a0b354a2f (patch) | |
tree | a0c2d92dbd2508caae5a423e9dcea12ccde0dce5 /g4f/Provider/needs_auth | |
parent | Fix load model list i AirforceChat provider (diff) | |
download | gpt4free-8bc456f3b60743fb9a728bf3831fbb9a0b354a2f.tar gpt4free-8bc456f3b60743fb9a728bf3831fbb9a0b354a2f.tar.gz gpt4free-8bc456f3b60743fb9a728bf3831fbb9a0b354a2f.tar.bz2 gpt4free-8bc456f3b60743fb9a728bf3831fbb9a0b354a2f.tar.lz gpt4free-8bc456f3b60743fb9a728bf3831fbb9a0b354a2f.tar.xz gpt4free-8bc456f3b60743fb9a728bf3831fbb9a0b354a2f.tar.zst gpt4free-8bc456f3b60743fb9a728bf3831fbb9a0b354a2f.zip |
Diffstat (limited to 'g4f/Provider/needs_auth')
-rw-r--r-- | g4f/Provider/needs_auth/CopilotAccount.py | 8 | ||||
-rw-r--r-- | g4f/Provider/needs_auth/__init__.py | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/g4f/Provider/needs_auth/CopilotAccount.py b/g4f/Provider/needs_auth/CopilotAccount.py new file mode 100644 index 00000000..fa43867e --- /dev/null +++ b/g4f/Provider/needs_auth/CopilotAccount.py @@ -0,0 +1,8 @@ +from __future__ import annotations + +from ..Copilot import Copilot + +class CopilotAccount(Copilot): + needs_auth = True + parent = "Copilot" + default_model = ""
\ No newline at end of file diff --git a/g4f/Provider/needs_auth/__init__.py b/g4f/Provider/needs_auth/__init__.py index ace53876..0f430ab5 100644 --- a/g4f/Provider/needs_auth/__init__.py +++ b/g4f/Provider/needs_auth/__init__.py @@ -1,9 +1,7 @@ from .gigachat import * -#from .MetaAIAccount import MetaAIAccount -#from .OpenaiAccount import OpenaiAccount - from .BingCreateImages import BingCreateImages +from .CopilotAccount import CopilotAccount from .DeepInfra import DeepInfra from .DeepInfraImage import DeepInfraImage from .Gemini import Gemini |