Add local proxy support and commented-out provider options
validate / validate (push) Canceled after 0s
validate / validate (push) Canceled after 0s
This commit is contained in:
@@ -106,17 +106,20 @@ nono run --profile opencode-tinfoil --allow-cwd -- $(npm root -g)/opencode/bin/o
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Tinfoil integration
|
## Tinfoil integration
|
||||||
|
|
||||||
|
|
||||||
The profile allows network access to:
|
The profile allows network access to:
|
||||||
|
|
||||||
- `*.tinfoil.sh`
|
- `*.tinfoil.sh`
|
||||||
- `inference.tinfoil.sh`
|
- `inference.tinfoil.sh`
|
||||||
- `containers.tinfoil.sh`
|
- `containers.tinfoil.sh`
|
||||||
|
- `127.0.0.1` (supports Tinfoil local proxy at `http://127.0.0.1:3301/v1`)
|
||||||
- `ghcr.io`
|
- `ghcr.io`
|
||||||
|
|
||||||
and grants read/write access to `~/.tinfoil` for Tinfoil credentials.
|
It also grants read/write access to `~/.tinfoil` for Tinfoil credentials.
|
||||||
|
|
||||||
|
Other LLM provider network options (Anthropic, GLM, Kimi, etc.) are provided as commented-out entries in the profile for easy activation.
|
||||||
|
|
||||||
## Security model
|
## Security model
|
||||||
|
|
||||||
- Current working directory: read/write
|
- Current working directory: read/write
|
||||||
|
|||||||
@@ -111,6 +111,14 @@
|
|||||||
"*.tinfoil.sh",
|
"*.tinfoil.sh",
|
||||||
"api.tinfoil.sh",
|
"api.tinfoil.sh",
|
||||||
"containers.tinfoil.sh",
|
"containers.tinfoil.sh",
|
||||||
|
"127.0.0.1", // Tinfoil local proxy http://127.0.0.1:3301/v1
|
||||||
|
// Other providers:
|
||||||
|
// "api.anthropic.com",
|
||||||
|
// "api.chatglm.org",
|
||||||
|
// "api.moonshot.cn",
|
||||||
|
// "api.openrouter.com",
|
||||||
|
// "api.together.xyz",
|
||||||
|
// "api.mistral.ai",
|
||||||
"ghcr.io",
|
"ghcr.io",
|
||||||
"registry.npmjs.org",
|
"registry.npmjs.org",
|
||||||
"npmjs.org",
|
"npmjs.org",
|
||||||
|
|||||||
Reference in New Issue
Block a user