Skip to content

Make request_latency optional in /estimations#15

Merged
samuelrince merged 1 commit into
mainfrom
feat/make-request-latency-optional
May 19, 2026
Merged

Make request_latency optional in /estimations#15
samuelrince merged 1 commit into
mainfrom
feat/make-request-latency-optional

Conversation

@samuelrince

Copy link
Copy Markdown
Member
  • Makes request_latency optional in the POST /v1beta/estimations endpoint, defaulting to a high value (1e6) so the estimation falls back to TPS and TTFT data from OpenRouter when latency is not provided
  • Temporary workaround until the estimations module in EcoLogits (Python) natively supports omitting latency

@samuelrince samuelrince requested a review from DuarteVi April 10, 2026 16:49
@samuelrince samuelrince merged commit 79b8fcd into main May 19, 2026
1 check 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.

2 participants