Skip to content
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

Log rejected router requests to langfuse #4390

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

krrishdholakia
Copy link
Contributor

Title

Log rejected router requests to langfuse (e.g. if all models in cooldown, call exceeds context window, etc.)

Relevant issues

Fixes issue where calls rejected by _pre_call_checks were not being logged to langfuse

Type

🐛 Bug Fix

Changes

  • adds a check in async_get_available_deployments
  • logs to logging_obj failure handler, if present

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

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

Anecdotal
Screenshot 2024-06-24 at 5 54 55 PM

Screenshot 2024-06-24 at 5 54 49 PM

Copy link

vercel bot commented Jun 25, 2024

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 Jun 25, 2024 0:55am

@krrishdholakia krrishdholakia merged commit 9902947 into main Jun 25, 2024
8 of 9 checks passed
@krrishdholakia krrishdholakia deleted the litellm_langfuse_router_logging branch June 25, 2024 04:13
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.

None yet

1 participant