Skip to content

Commit d7483fa

Browse files
remove function
1 parent d1f6f8d commit d7483fa

File tree

1 file changed

+0
-8
lines changed
  • sentry_sdk/integrations/pydantic_ai

1 file changed

+0
-8
lines changed

sentry_sdk/integrations/pydantic_ai/utils.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,6 @@ def get_current_agent() -> "Any":
4141
return None
4242

4343

44-
def get_is_streaming() -> bool:
45-
"""Get the streaming flag from the contextvar stack."""
46-
stack = _agent_context_stack.get()
47-
if stack:
48-
return stack[-1].get("is_streaming", False)
49-
return False
50-
51-
5244
def _should_send_prompts() -> bool:
5345
"""
5446
Check if prompts should be sent to Sentry.

0 commit comments

Comments
 (0)