Skip to content

Commit

Permalink
logging update
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMarten committed Dec 17, 2024
1 parent 2e12ad0 commit 3956d77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ async def call_single_request(
invalid_finish_reasons = ["length", "content_filter"]
if finish_reason in invalid_finish_reasons:
logger.debug(
f"Invalid finish_reason {finish_reason} raw response {completion_obj.model_dump()} for request {request.generic_request.messages}"
f"Invalid finish_reason {finish_reason}. Raw response {completion_obj.model_dump()} for request {request.generic_request.messages}"
)
raise ValueError(f"finish_reason was {finish_reason}")

Expand Down

0 comments on commit 3956d77

Please sign in to comment.