diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-06 13:10:19 +0100 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-06 13:10:19 +0100 |
commit | 087a4d684c456ca93e2689083074ed909974e929 (patch) | |
tree | 696cc7511290f8a9165cc01e812d18f173a938be /g4f/Provider | |
parent | Update (g4f/gui/client/index.html) (diff) | |
download | gpt4free-087a4d684c456ca93e2689083074ed909974e929.tar gpt4free-087a4d684c456ca93e2689083074ed909974e929.tar.gz gpt4free-087a4d684c456ca93e2689083074ed909974e929.tar.bz2 gpt4free-087a4d684c456ca93e2689083074ed909974e929.tar.lz gpt4free-087a4d684c456ca93e2689083074ed909974e929.tar.xz gpt4free-087a4d684c456ca93e2689083074ed909974e929.tar.zst gpt4free-087a4d684c456ca93e2689083074ed909974e929.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/__init__.py | 1 | ||||
-rw-r--r-- | g4f/Provider/needs_auth/DeepInfra.py (renamed from g4f/Provider/DeepInfra.py) | 6 | ||||
-rw-r--r-- | g4f/Provider/needs_auth/__init__.py | 1 |
3 files changed, 4 insertions, 4 deletions
diff --git a/g4f/Provider/__init__.py b/g4f/Provider/__init__.py index 048ce504..55fabd25 100644 --- a/g4f/Provider/__init__.py +++ b/g4f/Provider/__init__.py @@ -35,7 +35,6 @@ from .ChatifyAI import ChatifyAI from .Cloudflare import Cloudflare from .DarkAI import DarkAI from .DDG import DDG -from .DeepInfra import DeepInfra from .DeepInfraChat import DeepInfraChat from .DeepInfraImage import DeepInfraImage from .Editee import Editee diff --git a/g4f/Provider/DeepInfra.py b/g4f/Provider/needs_auth/DeepInfra.py index b12fb254..ebe5bfbf 100644 --- a/g4f/Provider/DeepInfra.py +++ b/g4f/Provider/needs_auth/DeepInfra.py @@ -1,8 +1,8 @@ from __future__ import annotations import requests -from ..typing import AsyncResult, Messages -from .needs_auth.Openai import Openai +from ...typing import AsyncResult, Messages +from .Openai import Openai class DeepInfra(Openai): label = "DeepInfra" @@ -55,4 +55,4 @@ class DeepInfra(Openai): max_tokens=max_tokens, headers=headers, **kwargs - )
\ No newline at end of file + ) diff --git a/g4f/Provider/needs_auth/__init__.py b/g4f/Provider/needs_auth/__init__.py index 0492645d..aa3547a5 100644 --- a/g4f/Provider/needs_auth/__init__.py +++ b/g4f/Provider/needs_auth/__init__.py @@ -1,3 +1,4 @@ +from .DeepInfra import DeepInfra from .Gemini import Gemini from .Raycast import Raycast from .Theb import Theb |