Multi-Modell + Vision: OpenRouter (GLM 5.3 Flash), Bild-Upload, Tour-Feature, Dashboard-Fixes

- Modell-Registry (DeepSeek direkt + OpenRouter z-ai/glm-5.3-flash), Modellwahl pro Session, Reasoning-Effort max (env-konfigurierbar)
- Bild-Upload für Vision-Modelle (User) + Agent-screenshot()-Tool (nur Vision)
- Tour-Planung: geocode + save_tour mit GPX-Export und Karten-Sektion
- Fix: System-Prompt wird jetzt wirklich an die API gesendet, inkl. aktuellem Dashboard-Dateinamen für Folge-Updates
- Fix: History-Sanitizer gegen 400-Fehler (nie mitten in Tool-Gruppen kürzen)
- Fix: reasoning_content-Roundtrip (Pflicht bei DeepSeek mit tools)
- Fix: Dashboards ohne Browser-Cache ausliefern
This commit is contained in:
nico committed 2026-08-27 17:43:13 +02:00
1 parent eee59363d4
commit 87eb7029f1
10 files changed
+843 -70

No files matched your search

+13 -1
View File
@@ -2,6 +2,10 @@
# DeepSeek API Key (https://platform.deepseek.com/api_keys)
DEEPSEEK_API_KEY=sk-xxxx
# OpenRouter API Key für zusätzliche Modelle (https://openrouter.ai/keys),
# z.B. GLM 5.3 Flash (z-ai/glm-5.3-flash, Vision/Bilderkennung)
OPENROUTER_API_KEY=sk-or-xxxx
# Gemeinsames Login-Passwort für die App (hinter NGINX mit IP-Prüfung)
APP_PASSWORD=ein-sicheres-passwort
@@ -12,11 +16,19 @@ SESSION_SECRET=
PORT=3000
# DeepSeek Modell
MODEL=deepseek-v4-flash
# Thinking-Mode des Modells: enabled | disabled
# Thinking-Mode des Modells: enabled | disabled (gilt für DeepSeek)
THINKING=enabled
# Reasoning-Tiefe je Modell: low | high | max (GLM: Pflicht, max Default)
DEEPSEEK_REASONING_EFFORT=max
GLM_REASONING_EFFORT=max
# Maximale Antwort-Tokens pro API-Aufruf (Dashboards sind große HTML-Dateien)
MAX_TOKENS=64000
# VAPID-Schlüsselpaar für Web Push (wird automatisch generiert)
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
# Login-Schutz: Fehlversuche pro IP bevor gesperrt wird, und Sperrdauer
LOGIN_MAX_ATTEMPTS=5
LOGIN_LOCK_MINUTES=5
# Tour-Feature: E-Mail für Nominatim (Fair-Use, optional) und OSRM-Server
NOMINATIM_EMAIL=
OSRM_URL=https://router.project-osrm.org