Commit Graph

5 Commits

Author SHA1 Message Date
Bernd (Hermes) 66c4f7f2d1 fix: F6 Review — B1 pipx Python 3.13 erzwingen, B2 Verifikations-Greps real, B3 Idempotenz, R5 journalctl-Secrets-Hinweis, R6 providers ollama-cloud
B1 (BLOCKER): pipx installiert hermes-agent jetzt zwingend mit --python python3.13.
- python3.13 wird via apt installiert falls nicht vorhanden
- Bestehende pipx-venv mit falscher Python-Version wird erkannt und neu installiert
- Verifikation prüft pipx-venv Python-Version auf exakt 3.13

B2 (BLOCKER): Alle Verifikations-Checks nutzen jetzt $VENV_PY (pipx-venv Python)
statt system-python3. YAML-Syntax-Check in write_config_yaml() nutzt die statt warn.
Alle Checks in verify_installation() setzen fail=1 und exit 1 bei Fehlern.

B3 (BLOCKER): set -euo pipefail war bereits vorhanden. Idempotenz durch
pipx-Reinstall bei falscher Python-Version ergänzt.

R5: INSTALL.md um 'Wichtige Hinweise' ergänzt — journalctl zeigt Secrets,
Logs nicht ungefiltert teilen.

R6: providers: {} → providers:\n  ollama-cloud: {} in install.sh und
templates/config.yaml. Verhindert Auto-Discovery-Risiko beim ersten Modell-Aufruf.
2026-07-19 18:36:29 +02:00
Bernd (Hermes) 7822c11336 fix: install.sh auxiliary: Section provisionieren (P15 — OpenRouter/Nous Timeout) 2026-07-14 18:35:02 +02:00
Bernd (Hermes) 1ade5549b3 fix(templates): Platzhalter statt harter Konfigurationsdaten — keine .101-Leaks 2026-06-23 10:22:57 +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