Scrub real machine hostname from README and test fixtures
This commit is contained in:
parent
c8f04f49b7
commit
d07a92e5b5
2 changed files with 34 additions and 34 deletions
|
|
@ -79,7 +79,7 @@ the file up as `opencode.json.before-llmhost`.
|
|||
A config with comments (`.jsonc`) is never rewritten, since that would drop them; setup prints the block to paste instead.
|
||||
|
||||
**On another machine**, run `llmhost opencode-config` on the server. It prints a provider block and a one-liner
|
||||
that copies the API key over. That block is named **LLMHost (<the server's hostname>)** — e.g. `LLMHost (popos.local)`
|
||||
that copies the API key over. That block is named **LLMHost (<the server's hostname>)** — e.g. `LLMHost (mybox.local)`
|
||||
— under the provider id `llmhost-<shorthost>`.
|
||||
|
||||
### One opencode, several servers
|
||||
|
|
@ -114,8 +114,8 @@ never overwritten (setup takes `llmhost-local` instead and says so), and `uninst
|
|||
provider — remote ones, and providers llm-host didn't create, are left in place. If a provider's default model
|
||||
goes away with it, `model` is repointed at a surviving llm-host provider, and dropped only if there is none.
|
||||
|
||||
Retiring a server is the one thing the servers can't do for each other: uninstalling on `popos` can't reach the
|
||||
clients pointing at it. On each client, run `llmhost opencode-remove --host popos.local` (or delete the block by
|
||||
Retiring a server is the one thing the servers can't do for each other: uninstalling on `mybox` can't reach the
|
||||
clients pointing at it. On each client, run `llmhost opencode-remove --host mybox.local` (or delete the block by
|
||||
hand if llm-host isn't installed there).
|
||||
|
||||
### If opencode keeps asking for the API key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue