feat(opencode): configure vllm-qwen38 provider for local Qwen3.8-27B
This commit is contained in:
@@ -397,7 +397,7 @@ def install_config(src: str, dst: str) -> bool:
|
||||
private-network addresses. Real values are supplied at runtime and patched
|
||||
in here.
|
||||
|
||||
Env var convention (case-sensitive provider name — `headroom`, `local`):
|
||||
Env var convention (case-sensitive provider name — `headroom`, `vllm-qwen38`):
|
||||
|
||||
PRAGENT_<NAME>_BASE_URL — per-provider endpoint override
|
||||
PRAGENT_<NAME>_API_KEY — per-provider API key override
|
||||
@@ -406,9 +406,9 @@ def install_config(src: str, dst: str) -> bool:
|
||||
PRAGENT_MODEL_API_KEY — legacy catchall (same)
|
||||
|
||||
Per-provider wins over the catchall. The first 2 win when the operator
|
||||
needs a different endpoint per upstream (e.g. headroom → MiniMax, local →
|
||||
ai-workstation). The catchall keeps the single-provider deploys from
|
||||
needing any env config.
|
||||
needs a different endpoint per upstream (e.g. headroom → MiniMax,
|
||||
vllm-qwen38 → ai-workstation). The catchall keeps the single-provider
|
||||
deploys from needing any env config.
|
||||
|
||||
This is done in Python rather than with opencode's own `{env:VAR}` config
|
||||
templating because the reviewer subprocess runs with an allow-listed
|
||||
|
||||
Reference in New Issue
Block a user