From 2512959144c5cf2e2e6c944c9d45e784fdbb3495 Mon Sep 17 00:00:00 2001 From: Matt Bernstein Date: Thu, 21 Nov 2024 11:27:29 -0500 Subject: [PATCH] make debug log --- adala/runtimes/_litellm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adala/runtimes/_litellm.py b/adala/runtimes/_litellm.py index 138d122..0cb49ae 100644 --- a/adala/runtimes/_litellm.py +++ b/adala/runtimes/_litellm.py @@ -472,7 +472,7 @@ async def batch_to_batch( logger.error( f"Converting error to ConstrainedGenerationError: {str(e)}" ) - logger.error(f"Traceback:\n{traceback.format_exc()}") + logger.debug(f"Traceback:\n{traceback.format_exc()}") e = ConstrainedGenerationError() # the only other instructor error that would be thrown is IncompleteOutputException due to max_tokens reached dct = _log_llm_exception(e)