Skip to content

Commit 721799c

Browse files
.
1 parent 0c22da4 commit 721799c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/integrations/pydantic_ai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ def setup_once() -> None:
165165
Hooks = None
166166
PydanticAIIntegration.are_request_hooks_available = False
167167

168-
# ModelRequestContext.model added in https://github.com/pydantic/pydantic-ai/commit/f1260dfe09907f17688eee1646daf898fc428d4c
169168
try:
170169
PYDANTIC_AI_VERSION = version("pydantic-ai-slim")
171170
except PackageNotFoundError:
@@ -175,6 +174,7 @@ def setup_once() -> None:
175174
if PYDANTIC_AI_VERSION is None:
176175
return
177176

177+
# ModelRequestContext.model added in https://github.com/pydantic/pydantic-ai/commit/f1260dfe09907f17688eee1646daf898fc428d4c
178178
if PYDANTIC_AI_VERSION < (
179179
1,
180180
73,

0 commit comments

Comments
 (0)