Conversation
xzrderek
commented
Oct 29, 2025
xzrderek
commented
Oct 29, 2025
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.
Note
Introduce EP exception types and mapping, use them to raise errors from remote logs, expand Status error helpers, update retry logic, and replace the Vercel server with an async Flask app; add tests and config updates.
eval_protocol/exceptions.pywith EP exception classes mapped to gRPC/status codes andexception_for_status_code().Statuswith manyrollout_*_errorhelpers and_build_details_with_extra_info; routerollout_error()tointernal_error().exception_for_status_codeto raise mapped exceptions from Fireworks logs; increase/inittimeout to 300s; poll searches viaasyncio.to_thread; userollout_deadline_exceeded_erroron timeout.DEFAULT_RETRYABLE_EXCEPTIONS.rollout_not_found_error/rollout_internal_errorfor missing/invalid remote data.str(e)for non-retryable error messages./api/init) that returns immediately and runs rollout in background, loggingStatuscodes; map OpenAI errors to specificStatushelpers; add CORS.requirements.txt(addFlask[async], bumpeval_protocol) andvercel.json(rewrite all to/api/init).tests/test_exceptions.pyfor mapping/behavior.Written by Cursor Bugbot for commit d63e109. This will update automatically on new commits. Configure here.