Skip to content

Commit df7b0d8

Browse files
committed
chore(gen_ai): add auto-enablement for google genai and litellm
1 parent 4c4f260 commit df7b0d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sentry_sdk/integrations/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,14 @@ def iter_default_integrations(
8181
"sentry_sdk.integrations.fastapi.FastApiIntegration",
8282
"sentry_sdk.integrations.flask.FlaskIntegration",
8383
"sentry_sdk.integrations.gql.GQLIntegration",
84+
"sentry_sdk.integrations.google_genai.GoogleGenAIIntegration",
8485
"sentry_sdk.integrations.graphene.GrapheneIntegration",
8586
"sentry_sdk.integrations.httpx.HttpxIntegration",
8687
"sentry_sdk.integrations.huey.HueyIntegration",
8788
"sentry_sdk.integrations.huggingface_hub.HuggingfaceHubIntegration",
8889
"sentry_sdk.integrations.langchain.LangchainIntegration",
8990
"sentry_sdk.integrations.langgraph.LanggraphIntegration",
91+
"sentry_sdk.integrations.litellm.LiteLLMIntegration",
9092
"sentry_sdk.integrations.litestar.LitestarIntegration",
9193
"sentry_sdk.integrations.loguru.LoguruIntegration",
9294
"sentry_sdk.integrations.mcp.MCPIntegration",
@@ -166,6 +168,7 @@ def iter_default_integrations(
166168

167169
_INTEGRATION_DEACTIVATES = {
168170
"langchain": {"openai", "anthropic"},
171+
"litellm": {"openai", "anthropic"},
169172
"openai_agents": {"openai"},
170173
"pydantic_ai": {"openai", "anthropic"},
171174
}

0 commit comments

Comments
 (0)