Skip to content

Unexperiment telemetry and generate APIs - #371

Merged
anbuzin merged 1 commit into
mainfrom
stabilize-telemetry-generate
Nov 19, 2026
Merged

anbuzin merged 1 commit into
mainfrom
stabilize-telemetry-generate

Conversation

@anbuzin

@anbuzin anbuzin commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Promote ai.generate, ai.telemetry, and Stream.telemetry_span to stable APIs. Keep the experimental names as aliases that emit DeprecationWarning.
  • Preserve legacy telemetry submodule imports and the viewer CLI without duplicating telemetry state. Keep the existing docs URLs and update docs and examples to use the stable names.
  • Leave ai.ops.experimental.decide experimental.

Verification

  • uv run --frozen pytest -q tests/telemetry tests/models/core tests/agents tests/ops tests/external/test_harness.py — 431 passed on Python 3.14.
  • uv run --frozen --python 3.12 pytest -q tests/telemetry/test_compat.py tests/models/core/test_api.py -k 'experimental or stream_span_milestones' --tb=short — 8 passed in a separate environment.
  • uv run --frozen ruff format --check src tests examples, uv run --frozen ruff check src tests examples, uv run --frozen mypy src tests, and uv run --frozen ty check — all passed.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
ai-python Ready Ready Preview, v0 Nov 19, 2026 12:51am UTC

@anbuzin anbuzin added the feature New functionality label Nov 18, 2026
@anbuzin anbuzin changed the title Stabilize telemetry and generate APIs Unexperiment telemetry and generate APIs Nov 18, 2026
@anbuzin
anbuzin requested a review from msullivan November 18, 2026 00:23
@anbuzin
anbuzin force-pushed the stabilize-telemetry-generate branch from 17e86d4 to e53e6bf Compare November 19, 2026 00:51
@anbuzin
anbuzin merged commit aea5301 into main Nov 19, 2026
13 checks passed
@anbuzin
anbuzin deleted the stabilize-telemetry-generate branch November 19, 2026 01:16

This branch was successfully deployed

1 active deployment
Preview — e53e6bf8 Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants