12 Commits

Author SHA1 Message Date
wouser f7047eb429 feat: make Telegram relay delivery opt-in v3.3.0 2026-08-16 04:39:07 +02:00
wouser 67160b2de0 fix: make relay fast and concurrency-safe 2026-07-20 06:17:31 +02:00
wouser 4eaa21f20c docs: add v3.1.0 changelog entry 2026-07-15 10:53:19 +02:00
wouser 5be3f78fe6 v3.1: Fix Telegram delivery via hermes send CLI subprocess
- Replace send_message_tool import with hermes send CLI subprocess
- Remove broken _ensure_gw_config() that clobbered env vars
- Remove unused CircuitBreaker class and tenacity import
- Clean up docstring and unused imports
- Token fix: requires real TELEGRAM_BOT_TOKEN in ~/.hermes/.env
- Systemd drop-in: /etc/systemd/system/hermes-relay.service.d/telegram.conf
v3.1.0
2026-07-15 10:51:47 +02:00
wouser ce9e91b1b9 chore: add CHANGELOG.md for v3.0.0 v3.0.0 2026-06-16 22:05:53 +02:00
wouser 5daa338c78 feat: Implement high-impact code optimizations
- Migrate from Flask to Quart (async) for better concurrency
- Add httpx with HTTP/2 connection pooling for Telegram
- Add diskcache for caching health check responses
- Increase ThreadPoolExecutor workers from 4 to 8 (configurable)
- Remove hardcoded paths - use environment variables
- Add circuit breaker pattern for resilient external calls
- Add proper timeout handling for health checks
- Pin all dependencies in requirements.txt
- Add graceful startup/shutdown handlers
- Pre-warm agent in background thread on startup
2026-06-16 21:50:54 +02:00
wouser 58ca990673 v2.1.1: Alleen antwoord naar Telegram sturen (geen Vraag:/Antwoord: prefix) v2.1.1 2026-06-16 14:04:59 +02:00
wouser e05fa9c5c1 v2.1: Switch to voice-assistant profile
- Use voice-assistant profile (minimal chatbot, max_turns=10, nous provider)
- Remove /fast prefix and model override - handled by profile config
- Use messaging toolset for send_message tool (Telegram delivery)
- Add hardcoded TELEGRAM_BOT_TOKEN and TELEGRAM_HOME_CHANNEL to relay env
- Telegram delivery now works via gateway's send_message_tool
- Version bump to 2.1
- Health endpoint shows profile: voice-assistant
2026-06-16 09:37:48 +02:00
wouser 1780eed406 feat: relay met qwen3.7-plus voor snellere responses
- Model override: qwen3.7-plus (4.5x meer requests/uur dan max)
- Toolsets disabled bij model override (DeepSeek compat fix)
- NoneType crash fix voor error paths
- Originele qwen3.7-max blijft actief voor andere chats
2026-06-08 19:48:31 +02:00
wouser 75311845ee chore: relay v2 cleanup — remove f-strings, add version/mode to health endpoint 2026-06-08 19:00:10 +02:00
wouser 1bac8db3c5 v1.1: Warme agent — directe Python import i.p.v. subprocess
- Vervang subprocess calls naar hermes chat -q door directe Python import
- Nieuwe hermes_client.py met warme AIAgent (eenmalig init, hergebruik per query)
- Initializing agent overhead: 3-5s per query -> 0.48s eenmalig
- Queries na eerste zijn ~5s (alleen LLM API tijd)
- Auxiliary vision provider leeggezet (geen DNS lookup naar Nous)
v1.1
2026-06-03 04:53:42 +02:00
wouser 5f83c410be Initial release v1.0 - Flask bridge tussen Node-RED en Hermes Agent v1.0 2026-06-02 14:00:11 +02:00