Skip to content

Conversation

@Dwij1704
Copy link
Member

📥 Pull Request

📘 Description
Added LiteLLM Support via callback handlers

  • Automatic session span creation and management
  • Tracing of all LLM API calls (pre, success, and failure events)
  • Support for both synchronous and asynchronous operations
  • Detailed span attributes including:
    • Provider information
    • Model details
    • Message history
    • Response data

🧪 Testing
Test

…lization. Updated attribute extraction to include LLM_COMPLETIONS for better tracking of completions in spans.
@codecov
Copy link

codecov bot commented Mar 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@Dwij1704 Dwij1704 linked an issue Mar 27, 2025 that may be closed by this pull request
@Dwij1704 Dwij1704 requested a review from dot-agi March 28, 2025 15:45
@bboynton97 bboynton97 self-requested a review April 3, 2025 15:49
@Dwij1704 Dwij1704 closed this Apr 3, 2025
@dot-agi dot-agi deleted the add-litellm-instrumentation branch May 21, 2025 17:38
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.

Update LiteLLM provider for v4

3 participants