Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

fix(llm): update logging configuration for asyncio

0xallam45bb0ae8d8a9
diff --git a/strix/llm/__init__.py b/strix/llm/__init__.py
index a971dc0c..73ababd5 100644
--- a/strix/llm/__init__.py
+++ b/strix/llm/__init__.py
@@ -13,4 +13,5 @@ __all__ = [
]
litellm._logging._disable_debugging()
-logging.getLogger("aiohttp").setLevel(logging.CRITICAL)
+logging.getLogger("asyncio").setLevel(logging.CRITICAL)
+logging.getLogger("asyncio").propagate = False