more env fixes

This commit is contained in:
Luxferre
2026-09-10 12:28:00 +03:00
parent b0a16e99e1
commit d9c7bb4407
4 changed files with 157 additions and 65 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ If the API rejects the request with an `Invalid assistant message: content or to
### Model configuration parameters
(shared by all implementations; the config file — `.bantam.cfg` takes priority over `model.cfg` when both exist — is plain `key=value` with `#` comments. Values defined in the config file override corresponding `BANTAM_*` environment variables, which in turn override built-in defaults.)
(shared by all implementations; `.bantam.cfg` takes priority over `model.cfg` when both exist — both are plain `key=value` with `#` comments. Values defined in `.bantam.cfg` override `BANTAM_*` environment variables; when `.bantam.cfg` is absent, `BANTAM_*` environment variables override `model.cfg` and built-in defaults.)
- `endpoint` (base OpenAI-compatible API URL, default `https://api.kilo.ai/api/openrouter`; falls back to `BANTAM_ENDPOINT` env var)
- `model` (model name, default `openrouter/free`; falls back to `BANTAM_MODEL` env var)