chore(llm): refresh defaults to match deployed Jetson backend
llm.py defaulted to AI_PROVIDER=anthropic, AI_MODEL=qwen-light, and the dead .20 Jetson IP — none of which match how workflows/bot actually run it (ollama / coder / .103). Update the defaults and docstring to reflect the live self-hosted setup, and refresh the README note that flagged the mismatch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
13
README.md
13
README.md
@@ -125,15 +125,16 @@ Provider-Wechsel = **nur Env**, kein Code-Change (`scripts/llm.py`). Anthropic-V
|
||||
|
||||
## Konfiguration (Env-Vars)
|
||||
|
||||
> Hinweis: Die **Code-Defaults in `llm.py` sind noch der alte Stand** (Anthropic, Jetson-IP
|
||||
> `.20`, `qwen-light`). Im Betrieb überschreiben Workflows + Bot diese per Env mit den
|
||||
> Jetson-Werten (`ollama` / `coder` / `.103`). Ein Refresh der Defaults ist vorgemerkt.
|
||||
> Hinweis: Die **Code-Defaults in `llm.py` entsprechen jetzt dem Jetson-Betrieb**
|
||||
> (`ollama` / `coder` / `.103`). Workflows + Bot setzen die Werte trotzdem explizit
|
||||
> per Env — ein Provider-Wechsel (z.B. zurück auf `anthropic`) bleibt damit ein
|
||||
> reiner Env-Change, keine Code-Änderung.
|
||||
|
||||
| Var | Default (`llm.py`) | Im Betrieb |
|
||||
|---|---|---|
|
||||
| `AI_PROVIDER` | `anthropic` | **`ollama`** |
|
||||
| `AI_MODEL` | `claude-3-5-haiku-latest` / `qwen-light` | **`coder`** |
|
||||
| `AI_BASE_URL` | `http://192.168.178.20:11434/v1` *(veraltet)* | **`…178.103…`** |
|
||||
| `AI_PROVIDER` | `ollama` | `ollama` |
|
||||
| `AI_MODEL` | `coder` (ollama) / `claude-3-5-haiku-latest` (anthropic) | `coder` |
|
||||
| `AI_BASE_URL` | `http://192.168.178.103:11434/v1` | `…178.103…` |
|
||||
| `JETSON_API_KEY` | — | Bearer für Ollama (optional) |
|
||||
| `ANTHROPIC_API_KEY` | — | nur bei provider=anthropic |
|
||||
| `GITEA_API` | `https://git.eulernest.eu/api/v1` | Bot: intern `http://gitea:3000/api/v1` |
|
||||
|
||||
Reference in New Issue
Block a user