Skip to content

docs(python): document stream_gen_ai_spans enabled by default#18591

Merged
obostjancic merged 1 commit into
masterfrom
ognjenbostjancic/tet-2553-python-stream-gen-ai-default
Jun 30, 2026
Merged

docs(python): document stream_gen_ai_spans enabled by default#18591
obostjancic merged 1 commit into
masterfrom
ognjenbostjancic/tet-2553-python-stream-gen-ai-default

Conversation

@obostjancic

@obostjancic obostjancic commented Jun 30, 2026

Copy link
Copy Markdown
Member

stream_gen_ai_spans defaults to True since Python SDK 2.64.0. The option reference now documents the new default with opt-out and self-hosted guidance, and the Python AI integration examples (OpenAI, Anthropic, LangChain, LangGraph, LiteLLM, MCP, OpenAI Agents, Pydantic AI, Google GenAI, Hugging Face) no longer set it explicitly since it is on by default.

Mirrors the equivalent JS docs change (#18535). Companion PRs:

Refs TET-2553

`stream_gen_ai_spans` defaults to `True` since Python SDK 2.64.0. The
option reference now shows the new default with opt-out and self-hosted
guidance, and the AI integration setup examples no longer set it
explicitly since it is on by default.

Refs TET-2553
@linear-code

linear-code Bot commented Jun 30, 2026

Copy link
Copy Markdown

TET-2553

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jun 30, 2026 8:38am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Jun 30, 2026 8:38am

Request Review

@obostjancic obostjancic merged commit a3f5399 into master Jun 30, 2026
23 checks passed
@obostjancic obostjancic deleted the ognjenbostjancic/tet-2553-python-stream-gen-ai-default branch June 30, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants