From 939dc51d7a2fd3a8c1b327114a4f992ce8d449b1 Mon Sep 17 00:00:00 2001 From: caufieldjh Date: Wed, 28 Aug 2024 17:22:03 -0400 Subject: [PATCH] Suppress litellm debug messages --- src/ontogpt/clients/llm_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ontogpt/clients/llm_client.py b/src/ontogpt/clients/llm_client.py index fbd82da36..6768e934d 100644 --- a/src/ontogpt/clients/llm_client.py +++ b/src/ontogpt/clients/llm_client.py @@ -17,6 +17,8 @@ # Just get the part before the slash in each model name SERVICES = {model.split("/")[0] for model in MODELS.keys() if len(model.split("/")) > 1} +# Necessary to avoid repeated debug messages +litellm.suppress_debug_info = True @dataclass class LLMClient: