summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/DeepInfraChat.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-11-18 19:21:08 +0100
committerGitHub <noreply@github.com>2024-11-18 19:21:08 +0100
commitb93711529e2b32aaac589814d77863b74373ffe4 (patch)
tree447a5232ae89c2775608c237330f3aa0ecc379a7 /g4f/Provider/DeepInfraChat.py
parentUpdate Blackbox.py (diff)
parentUpdate unittests (diff)
downloadgpt4free-b93711529e2b32aaac589814d77863b74373ffe4.tar
gpt4free-b93711529e2b32aaac589814d77863b74373ffe4.tar.gz
gpt4free-b93711529e2b32aaac589814d77863b74373ffe4.tar.bz2
gpt4free-b93711529e2b32aaac589814d77863b74373ffe4.tar.lz
gpt4free-b93711529e2b32aaac589814d77863b74373ffe4.tar.xz
gpt4free-b93711529e2b32aaac589814d77863b74373ffe4.tar.zst
gpt4free-b93711529e2b32aaac589814d77863b74373ffe4.zip
Diffstat (limited to 'g4f/Provider/DeepInfraChat.py')
-rw-r--r--g4f/Provider/DeepInfraChat.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/g4f/Provider/DeepInfraChat.py b/g4f/Provider/DeepInfraChat.py
index 5c668599..d8cb072a 100644
--- a/g4f/Provider/DeepInfraChat.py
+++ b/g4f/Provider/DeepInfraChat.py
@@ -4,10 +4,8 @@ from aiohttp import ClientSession
import json
from ..typing import AsyncResult, Messages, ImageType
-from ..image import to_data_uri
from .base_provider import AsyncGeneratorProvider, ProviderModelMixin
-
class DeepInfraChat(AsyncGeneratorProvider, ProviderModelMixin):
url = "https://deepinfra.com/chat"
api_endpoint = "https://api.deepinfra.com/v1/openai/chat/completions"