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

feat(lowest_latency.py): route by time to first token, for streaming requests (if available) #3768

Merged
merged 5 commits into from
May 22, 2024

Conversation

krrishdholakia
Copy link
Contributor

@krrishdholakia krrishdholakia commented May 21, 2024

Title

Time to first token-based routing

Relevant issues

Closes #3574

Type

🆕 New Feature

Changes

  • update lowest_latency.py to support ttft tracking

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

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

  • added test to test_lowest_latency.py
Screenshot 2024-05-21 at 2 05 32 PM

Copy link

vercel bot commented May 21, 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 May 22, 2024 1:43am

@krrishdholakia krrishdholakia merged commit febd57d into main May 22, 2024
6 of 8 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.

[Feature]: Support time to first token for lowest latency routing
1 participant