Skip to content

Conversation

@ishaan-jaff
Copy link
Contributor

@ishaan-jaff ishaan-jaff commented Jan 22, 2025

(Refactor) Langfuse - remove prepare_metadata, langfuse python SDK now handles non-json serializable objects

  • Added e2e tests for sending langfuse specific metadata to litellm
  • removed recursive prepare_metadata code block on litellm. This was redundant and langfuse python sdk already gracefully handles metadata that is not json serializable
  • use simple helpers to check if langfuse sdk version supports tags etc

Relevant issues

Type

🧹 Refactoring
✅ Test

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locally

If UI changes, send a screenshot/GIF of working UI fixes

  • e2e test with non json serializable data

@vercel
Copy link

vercel bot commented Jan 22, 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 Jan 23, 2025 5:18am

@ishaan-jaff ishaan-jaff merged commit 53a3ea3 into main Jan 23, 2025
39 of 40 checks passed
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.

[Bug]: Langfuse - Error trace when logging

2 participants