Commit Graph

5 Commits

Author SHA1 Message Date
Bernd (Hermes) 6f47885b1c fix(install.sh): numpy, circular import, room-map.json, archivar symlink in hermes root
FIX 1: numpy/faiss-cpu pip install in venv nach Plugin-Deployment
       in allen drei Pfaden (perform_update, perform_update_only,
       main interactive). Archivar braucht diese Packages für
       FAISS Phase-1 RoomIndex — ohne sie crasht der Import.

FIX 2: Zirkelimport adapter.py ↔ archivar/adapter_integration.py
       gebrochen. _room_context/_room_context_lock werden jetzt
       lazy innerhalb handle_feedback_response() importiert.

FIX 3: Minimale room-map.json (version=1, rooms={}) wird als
       Template bereitgestellt und bei Clean-Install ins
       Datenverzeichnis kopiert. RC-Skill-Onboarding erstellt
       die vollständige, maschinen-spezifische Version.

FIX 4: Archivar-Symlink liegt bereits korrekt im HERMES_DIR
       (Commit 5c8026c). Keine Änderung nötig.
2026-06-22 12:47:50 +02:00
Hermes Agent 7a0abc465a fix: template .env aufgeraeumt — nur OLLAMA_API_KEY, kein HERMES_API_KEY 2026-06-03 18:34:35 +02:00
Hermes Agent d01eded6ff fix: drei /API-KEY-Bugs — install.sh jetzt komplett productionsicher
Bug #12: /usr/bin/bash-Expansion im Passwort verhindert — cat <<'EOF' (single-quoted delimiter)
         + Platzhalter-Ersetzung via python3 (sed expandiert hBcZeichen in double quotes)
Bug #10: OLLAMA_BASE_URL aus rocketchat.env entfernt — überschreibt sonst Cloud-Provider-URL
Bug #11: OLLAMA_API_KEY via env var setzbar (OLLAMA_API_KEY=...) statt hartem Platzhalter
2026-06-03 17:37:13 +02:00
Hermes Agent 13a87fb233 fix: template now uses ollama-cloud as built-in provider + home_channel placeholders
Root cause: 'ollama-cloud' is a built-in Hermes provider. Putting it under
custom_providers with api_key_env broke key resolution. Built-in providers
use their own env-var conventions (OLLAMA_API_KEY, not HERMES_API_KEY).

Changes:
- template: model.provider=ollama-cloud, base_url=ollama.com/v1 (no custom_providers)
- template: gateway.platforms.rocketchat.home_channel with PLACEHOLDER vars
- install.sh: sed-replace placeholders with actual RC_URL/RC_HOME_CHANNEL
- template: .env now uses OLLAMA_API_KEY (what ollama-cloud actually reads)
- Bug #11 (export prefix in rocketchat.env) still needs push
2026-06-03 14:05:22 +02:00
Hermes Agent f54f90be5b fix: provision config.yaml/.env + systemd EnvironmentFile drop-in
Fixes #9 (custom_providers missing — fresh installs had no config.yaml/.env,
so gateway had no provider to connect to) and #10 (systemd unit had no
EnvironmentFile, so gateway couldn't read rocketchat.env/.env → crash-loop).

Templates provisioned on first install only (no overwrites):
- templates/config.yaml: minimal working config with ollama-cloud provider
- templates/.env: API key placeholder
- templates/hermes-gateway-env.conf: systemd drop-in wiring rocketchat.env + .env
2026-06-03 12:24:08 +02:00