summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/DarkAI.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-11-07 10:41:16 +0100
committerkqlio67 <kqlio67@users.noreply.github.com>2024-11-07 10:41:16 +0100
commit1a8869238204c91d34b0c1df1756d609c48f7052 (patch)
treef7141ddf23db54b951be1668cc63515e7c4cb939 /g4f/Provider/DarkAI.py
parentUpdate (g4f/Provider/) (diff)
downloadgpt4free-1a8869238204c91d34b0c1df1756d609c48f7052.tar
gpt4free-1a8869238204c91d34b0c1df1756d609c48f7052.tar.gz
gpt4free-1a8869238204c91d34b0c1df1756d609c48f7052.tar.bz2
gpt4free-1a8869238204c91d34b0c1df1756d609c48f7052.tar.lz
gpt4free-1a8869238204c91d34b0c1df1756d609c48f7052.tar.xz
gpt4free-1a8869238204c91d34b0c1df1756d609c48f7052.tar.zst
gpt4free-1a8869238204c91d34b0c1df1756d609c48f7052.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/DarkAI.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/g4f/Provider/DarkAI.py b/g4f/Provider/DarkAI.py
index 54f456fe..06e2bd55 100644
--- a/g4f/Provider/DarkAI.py
+++ b/g4f/Provider/DarkAI.py
@@ -75,9 +75,9 @@ class DarkAI(AsyncGeneratorProvider, ProviderModelMixin):
yield full_text.strip()
return
except json.JSONDecodeError:
- print(f"Failed to decode JSON: {chunk_str}")
- except Exception as e:
- print(f"Error processing chunk: {e}")
+ pass
+ except Exception:
+ pass
if full_text:
yield full_text.strip()