diff options
Diffstat (limited to '')
-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 |
2 files changed, 4 insertions, 3 deletions
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 |