feat: VoiceCoach v2 — livekit-agents 1.5 personal voice assistant
Replaces pipecat 0.0.48 (6 manual patches, DuplicateIdentity reconnect storms) with livekit-agents 1.5 SDK. New features: - SvelteKit UI with live transcript, VAD ring, mode bar, vocal meter, history view - SQLite session store with WAL mode (cross-session memory) - Async SpeechBrain vocal/emotion analysis injected per turn - Homelab tools: SSH/docker, Prometheus alerts, Home Assistant, SearXNG search - OpenClaw LLM gateway preserved (qwen2.5:14b via Ollama) - 4 modes: coaching, vent, practice, briefing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
"""VoiceCoach v2 — entry point."""
|
||||
import logging
|
||||
import os
|
||||
import threading
|
||||
|
||||
from livekit.agents import WorkerOptions, cli
|
||||
|
||||
import server
|
||||
from agent import entrypoint
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
|
||||
def run_api_server():
|
||||
server.run()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
api_thread = threading.Thread(target=run_api_server, daemon=True)
|
||||
api_thread.start()
|
||||
|
||||
cli.run_app(
|
||||
WorkerOptions(
|
||||
entrypoint_fnc=entrypoint,
|
||||
ws_url=os.getenv("LIVEKIT_URL", "ws://voicecoach-livekit:7880"),
|
||||
api_key=os.getenv("LIVEKIT_API_KEY"),
|
||||
api_secret=os.getenv("LIVEKIT_API_SECRET"),
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user