chore: interne Host-Adresse durch generischen Hostnamen ersetzt

Ersetzt die private LAN-IP des Jetson durch jetson.local in Doku,
Beispiel-Workflows und als Default in scripts/llm.py. Betrifft nur
Fallback-Werte -- die Org-Variable JETSON_OLLAMA_URL bzw. AI_BASE_URL
hat weiterhin Vorrang.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Tarik Moussa
2026-07-31 00:35:23 +02:00
parent 6ff95287fa
commit 4998a61480
9 changed files with 12 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ Umschalten zwischen Backends über Env-Vars:
Weitere Env-Vars:
AI_MODEL Modellname (Default je nach Provider; ollama: "coder" = qwen2.5-coder:7b)
AI_BASE_URL OpenAI-kompatible Basis-URL (für ollama),
Default http://192.168.178.103:11434/v1
Default http://jetson.local:11434/v1
JETSON_API_KEY Bearer-Token (für ollama, optional)
ANTHROPIC_API_KEY (für anthropic)
@@ -88,7 +88,7 @@ def _anthropic(system: str, user: str, model: str, max_tokens: int) -> str:
def _ollama_openai(system: str, user: str, model: str, max_tokens: int) -> str:
base = os.environ.get("AI_BASE_URL", "http://192.168.178.103:11434/v1").rstrip("/")
base = os.environ.get("AI_BASE_URL", "http://jetson.local:11434/v1").rstrip("/")
headers = {"content-type": "application/json"}
key = os.environ.get("JETSON_API_KEY", "")
if key: