Skip to content

Endpoints: one config file for the OpenSandbox and Swiss AI gateway hosts - #282

Merged
mzueri merged 5 commits into
mainfrom
endpoints-config
Nov 30, 2026
Merged

mzueri merged 5 commits into
mainfrom
endpoints-config

Conversation

@mzueri

@mzueri mzueri commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Adds configs/endpoints.json with the OpenSandbox Kata domain and the Swiss AI gateway base URL, and makes the code read it instead of hardcoding it.

  • scripts/common/endpoints.py: endpoint(name) loader, used by the OpenSandbox code and Harbor's runner (removes the duplicated domain).
  • launch_judge.py and simpleqa_verified_gateway.py read the gateway URL from the file by path.

Values are unchanged. Tests: test_harbor_runner, test_opensandbox_sandbox pass. The judge launcher and the Inspect task are not run on Clariden.

Not included yet: a proxy OpenSandbox entry, ghcr.io, docs.

…n configs/endpoints.json

One file holds the hosts the runners call. The OpenSandbox domain was defined in
both opensandbox_sandbox.py and harbor/run.py; the gateway URL in both
launch_judge.py and simpleqa_verified_gateway.py. Each now reads the file.
@mzueri
mzueri merged commit 4f340e1 into main Nov 30, 2026
3 checks passed
@mzueri
mzueri deleted the endpoints-config branch November 30, 2026 15:27
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.

1 participant