Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,16 @@ sentry_sdk.init(
"http_headers": {
"request": {
"mode": "denylist",
"terms": ["forwarded", "-ip", "remote-", "via", "-user"]
"terms": ["forwarded", "-ip", "remote-", "via", "-user"],
},
},
"cookies": { "mode": "denylist", "terms": ["forwarded", "-ip", "remote-", "via", "-user"] },
"cookies": {
"mode": "denylist",
"terms": ["forwarded", "-ip", "remote-", "via", "-user"],
},
"url_query_params": {
"mode": "denylist", "terms": ["forwarded", "-ip", "remote-", "via", "-user"],
"mode": "denylist",
"terms": ["forwarded", "-ip", "remote-", "via", "-user"],
},
},
)
Expand Down
1 change: 0 additions & 1 deletion sentry_sdk/integrations/aiomysql.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import annotations

from typing import Any, Awaitable, Callable, TypeVar
Expand Down
3 changes: 0 additions & 3 deletions sentry_sdk/integrations/pydantic_ai/spans/invoke_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def invoke_agent_span(
system_texts = []

if agent:
# Check for system_prompt
system_prompts = getattr(agent, "_system_prompts", None) or []
for prompt in system_prompts:
if isinstance(prompt, str):
Expand Down Expand Up @@ -101,7 +100,6 @@ def invoke_agent_span(
}
)
elif isinstance(user_prompt, list):
# Handle list of user content
content = []
for item in user_prompt:
if isinstance(item, str):
Expand Down Expand Up @@ -138,7 +136,6 @@ def update_invoke_agent_span(
if not span or not result:
return

# Extract output from result
output = getattr(result, "output", None)

# Set response text if prompts are enabled
Expand Down
Loading