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

[Feature]: Support time to first token for lowest latency routing #3574

Closed
krrishdholakia opened this issue May 11, 2024 · 1 comment · Fixed by #3768
Closed

[Feature]: Support time to first token for lowest latency routing #3574

krrishdholakia opened this issue May 11, 2024 · 1 comment · Fixed by #3768
Labels
enhancement New feature or request

Comments

@krrishdholakia
Copy link
Contributor

The Feature

support tracking time to first token in lowest latency routing

Motivation, pitch

user request

Twitter / LinkedIn details

https://www.linkedin.com/in/lucasmanchine/

@krrishdholakia krrishdholakia added the enhancement New feature or request label May 11, 2024
@krrishdholakia
Copy link
Contributor Author

Initial thoughts on implementation:

  • track time to first token in logging object
  • return that as part of the success kwarg
  • if present, use that to calculate response time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant