summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2024-11-15 11:24:56 +0100
committerTekky <98614666+xtekky@users.noreply.github.com>2024-11-15 11:24:56 +0100
commit66d3cecc59de11970770777a14195ba065e7498a (patch)
treeb1465e68e69bae53ee0c5c54f173423dbb8bc12f
parentMerge pull request #2313 from kqlio67/main (diff)
downloadgpt4free-66d3cecc59de11970770777a14195ba065e7498a.tar
gpt4free-66d3cecc59de11970770777a14195ba065e7498a.tar.gz
gpt4free-66d3cecc59de11970770777a14195ba065e7498a.tar.bz2
gpt4free-66d3cecc59de11970770777a14195ba065e7498a.tar.lz
gpt4free-66d3cecc59de11970770777a14195ba065e7498a.tar.xz
gpt4free-66d3cecc59de11970770777a14195ba065e7498a.tar.zst
gpt4free-66d3cecc59de11970770777a14195ba065e7498a.zip
-rw-r--r--g4f/Provider/not_working/Ai4Chat.py (renamed from g4f/Provider/Ai4Chat.py)6
-rw-r--r--g4f/models.py3
2 files changed, 5 insertions, 4 deletions
diff --git a/g4f/Provider/Ai4Chat.py b/g4f/Provider/not_working/Ai4Chat.py
index 56b47e5c..9b55e4ff 100644
--- a/g4f/Provider/Ai4Chat.py
+++ b/g4f/Provider/not_working/Ai4Chat.py
@@ -5,9 +5,9 @@ import re
import logging
from aiohttp import ClientSession
-from ..typing import AsyncResult, Messages
-from .base_provider import AsyncGeneratorProvider, ProviderModelMixin
-from .helper import format_prompt
+from ...typing import AsyncResult, Messages
+from ..base_provider import AsyncGeneratorProvider, ProviderModelMixin
+from ..helper import format_prompt
logger = logging.getLogger(__name__)
diff --git a/g4f/models.py b/g4f/models.py
index 6d3ef2ad..9c6178be 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -2,9 +2,10 @@ from __future__ import annotations
from dataclasses import dataclass
+from .Provider.not_working import Ai4Chat
+
from .Provider import IterListProvider, ProviderType
from .Provider import (
- Ai4Chat,
AIChatFree,
Airforce,
AIUncensored,