diff options
Diffstat (limited to 'g4f/Provider/DarkAI.py')
-rw-r--r-- | g4f/Provider/DarkAI.py | 6 |
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() |