diff --git a/pr_agent/algo/ai_handlers/litellm_ai_handler.py b/pr_agent/algo/ai_handlers/litellm_ai_handler.py index a36f2672..b7929502 100644 --- a/pr_agent/algo/ai_handlers/litellm_ai_handler.py +++ b/pr_agent/algo/ai_handlers/litellm_ai_handler.py @@ -115,7 +115,7 @@ class LiteLLMAIHandler(BaseAiHandler): if self.aws_bedrock_client: kwargs["aws_bedrock_client"] = self.aws_bedrock_client - get_logger().debug(f"Prompts", system=system, user=user) + get_logger().debug(f"Prompts", messages={"system": system, "user": user}) response = await acompletion(**kwargs) except (APIError, Timeout, TryAgain) as e: get_logger().error("Error during OpenAI inference: ", e)