Skip to content

Fix otel - follow genai semantic conventions + support 'instructions' param for tts #10608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 7, 2025

Conversation

krrishdholakia
Copy link
Contributor

@krrishdholakia krrishdholakia commented May 7, 2025

  • fix(opentelemetry.py): fix passing otel semantic conventions

Fixes SpanAttributes.LLM_PROMPTS to SpanAttributes.LLM_PROMPTS.value

  • fix(opentelemetry.py): ensure spanattributes always pass the actual enum value

  • fix(main.py): support passing 'instructions' param for gpt-4o-mini-tts

  • test: update tests

Copy link

vercel bot commented May 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2025 4:46am

@krrishdholakia krrishdholakia merged commit 500e6cd into main May 7, 2025
38 of 45 checks passed
@krrishdholakia krrishdholakia deleted the litellm_dev_05_06_2025_p1 branch May 7, 2025 04:57
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.

1 participant