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
Adds a remote-only --byok option that propagates to rollout requests, hides local creds on remote, auto-injects HUD_API_KEY for gateway calls, and guards against passing provider api_key to the HUD Gateway.
hud/cli/eval.py):--byokflag and[eval].byokconfig; validate as remote-only; show in settings table.api_key/model_clientwhen submitting remote jobs; passuse_byokto submissions.HUD_API_KEYforOPENAI_COMPATIBLEwhenbase_urlis the HUD Gateway.hud/datasets/utils.py):SingleTaskRequestwithuse_byok; plumbuse_byokthroughsubmit_rolloutsand batch payloads.hud/agents/openai_chat.py):api_keywhenbase_urltargets HUD Gateway and differs fromHUD_API_KEY; direct users to HUD_API_KEY/BYOK.Written by Cursor Bugbot for commit c6963de. This will update automatically on new commits. Configure here.