Split the internet upgrades: API-only tunnel, OIDC, authenticator codes, expose-dashboard
install-newt now sets up the tunnel for the API only; the dashboard stays on the LAN. Dashboard sign-in is its own step: install-oidc (the OIDC flow, split out) or install-otp, which pairs authenticator apps with a QR code in the terminal (stdlib QR encoder, TOTP per RFC 6238) so a code also opens the dashboard, with replay and lockout rules. expose-dashboard walks through publishing the dashboard, only after install-newt, and warns while it's protected by the API key alone; with codes it offers to switch the key off for the dashboard. Each install-* has a remove-*. Also opencode-install.sh: a standalone script, fetched from the repo, that installs opencode if needed, saves the API key to a 0600 file and adds the provider to opencode.json for new and existing configs. /v1/models reports whether the model reasons, for that script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e6ff4ce909
commit
c8b70afdbf
20 changed files with 1715 additions and 239 deletions
|
|
@ -140,6 +140,8 @@ req = urllib.request.Request(f"http://127.0.0.1:{OUTER}/v1/models",
|
|||
with urllib.request.urlopen(req, timeout=10) as r:
|
||||
d = json.loads(r.read())
|
||||
check("advertises the loaded model", [m["id"] for m in d["data"]] == [SERVED], d)
|
||||
check("reports context and whether it thinks", d["data"][0]["max_model_len"] == 262144
|
||||
and d["data"][0]["reasoning"] is False, d)
|
||||
|
||||
check.section("9. in front of vLLM: its model name and its own key are sent upstream")
|
||||
VOUTER = 18233
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue