Skip to content

Commit ba7b2d4

Browse files
.
1 parent 8290186 commit ba7b2d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/pydantic_ai/patches/graph_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _patch_graph_nodes() -> None:
5353
"""
5454

5555
# Patch ModelRequestNode to create ai_client spans
56-
original_model_request_run = ModelRequestNode._make_request
56+
original_model_request_run = ModelRequestNode.run
5757

5858
@wraps(original_model_request_run)
5959
async def wrapped_model_request_run(self: "Any", ctx: "Any") -> "Any":

0 commit comments

Comments
 (0)