We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c22da4 commit 721799cCopy full SHA for 721799c
1 file changed
sentry_sdk/integrations/pydantic_ai/__init__.py
@@ -165,7 +165,6 @@ def setup_once() -> None:
165
Hooks = None
166
PydanticAIIntegration.are_request_hooks_available = False
167
168
- # ModelRequestContext.model added in https://github.com/pydantic/pydantic-ai/commit/f1260dfe09907f17688eee1646daf898fc428d4c
169
try:
170
PYDANTIC_AI_VERSION = version("pydantic-ai-slim")
171
except PackageNotFoundError:
@@ -175,6 +174,7 @@ def setup_once() -> None:
175
174
if PYDANTIC_AI_VERSION is None:
176
return
177
+ # ModelRequestContext.model added in https://github.com/pydantic/pydantic-ai/commit/f1260dfe09907f17688eee1646daf898fc428d4c
178
if PYDANTIC_AI_VERSION < (
179
1,
180
73,
0 commit comments