OpenShell: keyless model providers get no egress rule #1972

Closed
opened 2026-11-13 17:04:02 +00:00 by sam · 1 comment
Owner

A provider without a key (a local Ollama or other self-hosted endpoint) is skipped by the OpenShell model egress, so no policy rule lets the sandbox reach it. An end-to-end run only worked once the provider's host and port were also listed in the OpenShell egress hosts by hand. Derive an allow rule from the provider base URL for keyless providers too. Done when a task whose model alias names a keyless provider reaches it without a manual egress host entry. Loopback endpoints stay unreachable (the gateway blocks them), so the dashboard should say a keyless provider needs a non-loopback name.

A provider without a key (a local Ollama or other self-hosted endpoint) is skipped by the OpenShell model egress, so no policy rule lets the sandbox reach it. An end-to-end run only worked once the provider's host and port were also listed in the OpenShell egress hosts by hand. Derive an allow rule from the provider base URL for keyless providers too. Done when a task whose model alias names a keyless provider reaches it without a manual egress host entry. Loopback endpoints stay unreachable (the gateway blocks them), so the dashboard should say a keyless provider needs a non-loopback name.
Author
Owner

Fixed in a8f1fc9ea, on main and deployed.

Fixed in a8f1fc9ea, on main and deployed.
sam closed this issue 2026-11-14 03:24:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1972