summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/AItianhuSpace.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-10-22 23:55:32 +0200
committerGitHub <noreply@github.com>2023-10-22 23:55:32 +0200
commit955fb4bbaa3c31787bbe699aa913f22ec3a4a639 (patch)
treec298e3feb1110b047a74cdb224024b412712323a /g4f/Provider/AItianhuSpace.py
parentMerge pull request #1122 from Luneye/patch-2 (diff)
parentDebug logging support (diff)
downloadgpt4free-955fb4bbaa3c31787bbe699aa913f22ec3a4a639.tar
gpt4free-955fb4bbaa3c31787bbe699aa913f22ec3a4a639.tar.gz
gpt4free-955fb4bbaa3c31787bbe699aa913f22ec3a4a639.tar.bz2
gpt4free-955fb4bbaa3c31787bbe699aa913f22ec3a4a639.tar.lz
gpt4free-955fb4bbaa3c31787bbe699aa913f22ec3a4a639.tar.xz
gpt4free-955fb4bbaa3c31787bbe699aa913f22ec3a4a639.tar.zst
gpt4free-955fb4bbaa3c31787bbe699aa913f22ec3a4a639.zip
Diffstat (limited to 'g4f/Provider/AItianhuSpace.py')
-rw-r--r--g4f/Provider/AItianhuSpace.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/AItianhuSpace.py b/g4f/Provider/AItianhuSpace.py
index 51297bcd..46856060 100644
--- a/g4f/Provider/AItianhuSpace.py
+++ b/g4f/Provider/AItianhuSpace.py
@@ -1,7 +1,7 @@
from __future__ import annotations
import random, json
-from ..debug import logging
+from .. import debug
from ..typing import AsyncResult, Messages
from ..requests import StreamSession
from .base_provider import AsyncGeneratorProvider, format_prompt, get_cookies
@@ -36,7 +36,7 @@ class AItianhuSpace(AsyncGeneratorProvider):
rand = ''.join(random.choice(chars) for _ in range(6))
domain = f"{rand}.{domains[model]}"
- if logging:
+ if debug.logging:
print(f"AItianhuSpace | using domain: {domain}")
if not cookies: