Skip to content

Upgrade langfuse sdk and enable passing generation params thru metadata #10600

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

Conversation

sfarthin
Copy link
Contributor

@sfarthin sfarthin commented May 6, 2025

Title

This first upgrade langfuse (#9867) so we can pass in environment variable. It also adds the ability to set generation params via setting metadata like generation_environment. This will enable setting the langfuse environment.

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature
🐛 Bug Fix
🧹 Refactoring
📖 Documentation
🚄 Infrastructure
✅ Test

Changes

Copy link

vercel bot commented May 6, 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 0:01am

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Steve Farthing seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sfarthin sfarthin changed the title Stevefarthing/upgrade langfuse sdk and enable generation data Upgrade langfuse sdk and enable passing generation params thru metadata May 6, 2025
@sfarthin sfarthin force-pushed the stevefarthing/upgrade-langfuse-sdk-and-enable-generation-data branch from 7072502 to b509f72 Compare May 7, 2025 11:57
@krrishdholakia krrishdholakia changed the base branch from main to litellm_dev_05_07_2025_contributor_prs May 7, 2025 23:10
@krrishdholakia krrishdholakia merged commit 7d4fe44 into BerriAI:litellm_dev_05_07_2025_contributor_prs May 7, 2025
5 of 6 checks passed
krrishdholakia pushed a commit that referenced this pull request May 14, 2025
* Upgrade langfuse sdk and enable passing generation params thru metadata (#10600)

* Langfuse Upgrade and allow passing generation params like environment

* remove comments

---------

Co-authored-by: Steve Farthing <[email protected]>

* URL fix

---------

Co-authored-by: Steve Farthing <[email protected]>
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.

3 participants