Skip to content

Commit f132f4e

Browse files
authored
fix: remove forgotten print on GoogleModel (#1780)
1 parent d896b01 commit f132f4e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/google.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ async def _generate_content(
279279
def _process_response(self, response: GenerateContentResponse) -> ModelResponse:
280280
if not response.candidates or len(response.candidates) != 1:
281281
raise UnexpectedModelBehavior('Expected exactly one candidate in Gemini response') # pragma: no cover
282-
print(response.candidates[0].safety_ratings)
283282
if response.candidates[0].content is None or response.candidates[0].content.parts is None:
284283
if response.candidates[0].finish_reason == 'SAFETY':
285284
raise UnexpectedModelBehavior('Safety settings triggered', str(response))

0 commit comments

Comments
 (0)