Rebuild & Deploy / rebuild (push) Successful in 3m18s
- Point the agent at OpenWebUI's OpenAI-compatible API (LLM_BASE_URL,
LLM_API_KEY, LLM_MODEL) with GEMMA_* env fallbacks
- Add list_available_models() fetching {base_url}/models, filtering
non-chat ids (embedding/reranker)
- Rename GemmaLLM -> HopeLLM with update_options(model=...) for runtime
model switching (mutates _opts.model) and instance-based compaction
- Data channel: agent publishes {type: models} after connect and on
get_models; set_model switches live and acks model_changed
- Web UI: Brain section in the settings sheet with a model picker that
persists the choice in localStorage
- Update tests, CI workflow env, and docs for the new endpoint
59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
pidfile=/run/supervisord.pid
|
|
|
|
[program:livekit]
|
|
command=/usr/local/bin/livekit --config /etc/livekit.yaml
|
|
user=root
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
|
|
[program:agent]
|
|
command=/opt/voice-agent/.venv/bin/python /opt/voice-agent/agent.py start
|
|
user=voiceuser
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
environment=
|
|
LIVEKIT_URL="%(ENV_LIVEKIT_URL)s",
|
|
LIVEKIT_API_KEY="%(ENV_LIVEKIT_API_KEY)s",
|
|
LIVEKIT_API_SECRET="%(ENV_LIVEKIT_API_SECRET)s",
|
|
AZURE_SPEECH_KEY="%(ENV_AZURE_SPEECH_KEY)s",
|
|
AZURE_SPEECH_REGION="%(ENV_AZURE_SPEECH_REGION)s",
|
|
AZURE_TTS_VOICE="%(ENV_AZURE_TTS_VOICE)s",
|
|
LLM_BASE_URL="%(ENV_LLM_BASE_URL)s",
|
|
LLM_MODEL="%(ENV_LLM_MODEL)s",
|
|
LLM_API_KEY="%(ENV_LLM_API_KEY)s",
|
|
WEB_MCP_ENABLED="%(ENV_WEB_MCP_ENABLED)s",
|
|
FIRECRAWL_BASE="%(ENV_FIRECRAWL_BASE)s",
|
|
VOICE_USERS_FILE="%(ENV_VOICE_USERS_FILE)s"
|
|
|
|
[program:web]
|
|
command=/usr/sbin/nginx -g "daemon off;"
|
|
user=root
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
|
|
[program:token-server]
|
|
command=/opt/voice-agent/.venv/bin/python /opt/voice/token_server.py
|
|
user=voiceuser
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
environment=
|
|
LIVEKIT_API_KEY="%(ENV_LIVEKIT_API_KEY)s",
|
|
LIVEKIT_API_SECRET="%(ENV_LIVEKIT_API_SECRET)s",
|
|
VOICE_USERS_FILE="%(ENV_VOICE_USERS_FILE)s",
|
|
VOICE_DEFAULT_USER="%(ENV_VOICE_DEFAULT_USER)s"
|