summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/Provider')
-rw-r--r--g4f/Provider/__init__.py1
-rw-r--r--g4f/Provider/needs_auth/DeepInfra.py (renamed from g4f/Provider/DeepInfra.py)6
-rw-r--r--g4f/Provider/needs_auth/__init__.py1
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