it0/packages/services/voice-service/src/api
hailin 59a3e60b82 feat: add engine type selection (Agent SDK / Claude API) for voice calls
Full-stack implementation allowing users to choose between Claude Agent SDK
(default, with tool approval, skill injection, session resume) and Claude API
(direct, lower latency) in Flutter settings. Agent SDK mode wraps prompts with
voice-conversation instructions for concise spoken Chinese output.

Data flow: Flutter Settings → SharedPreferences → POST /livekit/token →
RoomAgentDispatch metadata → voice-agent → AgentServiceLLM(engine_type)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 02:11:51 -08:00
..
__init__.py Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
health.py Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
livekit_token.py feat: add engine type selection (Agent SDK / Claude API) for voice calls 2026-03-02 02:11:51 -08:00
main.py feat: migrate voice call from WebSocket/PCM to LiveKit WebRTC 2026-02-28 08:55:33 -08:00
session_router.py fix: improve voice call reconnection robustness 2026-02-25 07:33:34 -08:00
test_tts.py fix: resample OpenAI TTS output from 24kHz to 16kHz WAV 2026-02-25 05:38:39 -08:00
twilio_webhook.py Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00