- Serveur WebSocket direct avec websockets 16.0 - Interface HTML/CSS/JS dark theme avec chat - Relay vers API Hermes sur port 8642 - Historique de conversation (20 messages) - Clé API via Infisical - Testé et fonctionnel sur openclaw1.dev.home:7081
12 lines
507 B
Bash
12 lines
507 B
Bash
#!/bin/bash
|
|
set -e
|
|
pkill -f "bot.py" 2>/dev/null
|
|
sleep 1
|
|
|
|
TOKEN=$(python3 -c "import json; print(json.load(open('/opt/infisical/admin-credentials.json'))['token'])")
|
|
HERMES_KEY=$(/home/openclaw/.local/bin/infisical secrets get API_SERVER_KEY --domain https://secret.dracodev.net --projectId 192c1eed-6666-41ee-80df-a4636a2da0ad --env prod --path /hermes-claw --plain --token "$TOKEN" 2>/dev/null)
|
|
|
|
export HERMES_API_KEY="$HERMES_KEY"
|
|
cd /home/openclaw/workspace/jarvis-pipecat
|
|
exec ./venv/bin/python bot.py
|