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
3 changes: 3 additions & 0 deletions sentry_sdk/integrations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ def iter_default_integrations(with_auto_enabling_integrations):
"sentry_sdk.integrations.langgraph.LanggraphIntegration",
"sentry_sdk.integrations.litestar.LitestarIntegration",
"sentry_sdk.integrations.loguru.LoguruIntegration",
"sentry_sdk.integrations.mcp.MCPIntegration",
"sentry_sdk.integrations.openai.OpenAIIntegration",
"sentry_sdk.integrations.openai_agents.OpenAIAgentsIntegration",
"sentry_sdk.integrations.pydantic_ai.PydanticAIIntegration",
"sentry_sdk.integrations.pymongo.PyMongoIntegration",
"sentry_sdk.integrations.pyramid.PyramidIntegration",
"sentry_sdk.integrations.quart.QuartIntegration",
Expand Down
19 changes: 0 additions & 19 deletions tests/integrations/pydantic_ai/test_pydantic_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -1936,25 +1936,6 @@ async def test_set_model_data_with_none_settings_values(sentry_init, capture_eve
assert transaction is not None


@pytest.mark.asyncio
async def test_should_send_prompts_with_no_integration(sentry_init, capture_events):
"""
Test that _should_send_prompts returns False when integration not found.
"""
from sentry_sdk.integrations.pydantic_ai.utils import _should_send_prompts

# Initialize without PydanticAIIntegration
sentry_init(
integrations=[],
traces_sample_rate=1.0,
send_default_pii=True,
)

# Should return False
result = _should_send_prompts()
assert result is False


@pytest.mark.asyncio
async def test_should_send_prompts_without_pii(sentry_init, capture_events):
"""
Expand Down