Dashboard: Connect dialog with the API key and opencode setup
The API key button is Connect again. Besides the key, it walks through adding this server to opencode: type the API's address (remembered in the browser; prefilled on a LAN visit) and it fills in a command that saves the key to a 0600 file without it touching shell history, and the provider block from the same builder as `llmhost opencode-config`. GET /api/connect replaces /api/key, behind the same sign-in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6fd82448c5
commit
04ff14c58f
4 changed files with 93 additions and 18 deletions
|
|
@ -112,8 +112,9 @@ It ends by printing the two Pangolin HTTP resources to create, both pointing at
|
|||
| dashboard, at the `--public-url` host | `<LAN IP>:<web port>` | llm-host, through your OIDC provider |
|
||||
| API, at a host of your choice | `<LAN IP>:<API port>` | llm-host, with the API key |
|
||||
|
||||
Clients then use `https://<API host>/v1` with the key from `llmhost key`, or from the dashboard's **API key** button,
|
||||
which shows it to anyone signed in, with a copy button.
|
||||
Clients then use `https://<API host>/v1` with the key from `llmhost key`, or from the dashboard's **Connect** button.
|
||||
It shows anyone signed in the key, plus the steps to add this server to opencode: type the API's address and it
|
||||
fills in a key-saving command and the provider block, both with copy buttons.
|
||||
|
||||
For Authelia, the client looks like this:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue