Repository navigation
Integrate managed benchmark service - #2
Merged
Merged
Conversation
…onventions normalizeBaseUrl() unconditionally force-appended "/api/v1" to any custom base URL, so pointing this harness at an OpenAI-compatible endpoint mounted under a different path (e.g. DigitalOcean's inference-proxy at "/v1") always 404'd. It now only trims trailing slashes; callers pass a fully-qualified base URL and it's used verbatim. Also switch chat completions to streaming (stream: true, with stream_options.include_usage). Long, high-reasoning-effort completions can sit fully idle on a non-streaming request for many minutes and get killed by network middleware before the origin finishes -- the same "long requests" issue documented in Anthropic's own SDK (https://github.com/anthropics/anthropic-sdk-python?tab=readme-ov-file#long-requests), which is why inspect_ai auto-streams for Anthropic but not for this OpenAI-compatible path. The response is reassembled into the same shape a non-streaming response would have (falling back to the old plain-JSON path when a response isn't SSE-shaped, so existing behavior against providers/mocks that ignore stream:true is unaffected) before going through the existing validation/error-handling. Verified against DigitalOcean's inference-proxy (kimi-k3): a prompt that previously hung indefinitely non-streaming now completes in ~9 minutes streamed (26k+ reasoning tokens).
Persist benchmark lifecycle metadata and artifacts while enabling GPQA and TAU runs through an authenticated API and dashboard. Co-authored-by: Cursor <cursoragent@cursor.com>
Retain the API/dashboard, custom inference endpoints, TAU simulator configuration, and request auditing while integrating upstream caching, provider controls, host benchmarks, and benchmark updates. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
bun run format:checkbun run checkbun run typecheckbun test(1,607 passed)bun run build