Skip to content

Commit 1870bca

Browse files
authored
Apply suggestion from @Kludex
1 parent 6f6f917 commit 1870bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/google.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ async def _generate_content(
390390
except errors.APIError as e:
391391
if (status_code := e.code) >= 400:
392392
raise ModelHTTPError(status_code=status_code, model_name=self._model_name, body=e.details) from e
393-
raise # pragma: lax no cover
393+
raise
394394

395395
async def _build_content_and_config(
396396
self,

0 commit comments

Comments
 (0)