mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 03:15:17 +00:00
Refactor logging statements for better readability and debugging
This commit is contained in:
parent
34e421f79b
commit
8252b98bf5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue