Initial commit: Cosmo Voice Satellite
Two-agent voice assistant (Cosmo + Люся) via OpenClaw Gateway. Streaming STT (Groq) + LLM + TTS (ElevenLabs) pipeline with keep-alive sessions, barge-in, and daily conversation sessions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
40
.env.example
Normal file
40
.env.example
Normal file
@@ -0,0 +1,40 @@
|
||||
# OpenClaw Gateway — Cosmo
|
||||
GATEWAY_URL=http://192.168.31.103:18789
|
||||
GATEWAY_TOKEN=your_openclaw_token_here
|
||||
AGENT=openclaw/main
|
||||
VOICE_MODEL=openai/gpt-5.4-mini
|
||||
|
||||
# OpenClaw Gateway — Люся
|
||||
LUSYA_GATEWAY_URL=http://192.168.31.103:18790
|
||||
LUSYA_GATEWAY_TOKEN=your_openclaw_token_here
|
||||
LUSYA_AGENT=openclaw/main
|
||||
LUSYA_VOICE_MODEL=openai/gpt-5.4-mini
|
||||
|
||||
# STT (Groq)
|
||||
STT_PROVIDER=groq
|
||||
GROQ_API_KEY=your_groq_api_key_here
|
||||
WHISPER_MODEL=small
|
||||
WHISPER_LANGUAGE=ru
|
||||
|
||||
# Picovoice Porcupine (wake word, только на Pi)
|
||||
PORCUPINE_KEY=your_picovoice_key_here
|
||||
WAKE_WORD_COSMO=cosmo_raspberry-pi.ppn
|
||||
WAKE_WORD_LUSYA=lusya_raspberry-pi.ppn
|
||||
|
||||
# Audio (на Pi: bluez_sink.XX_XX_XX_XX_XX_XX.a2dp_sink)
|
||||
AUDIO_SINK=
|
||||
|
||||
# TTS (ElevenLabs)
|
||||
ELEVENLABS_API_KEY=your_elevenlabs_api_key_here
|
||||
ELEVENLABS_MODEL=eleven_flash_v2_5
|
||||
COSMO_TTS_VOICE=your_cosmo_voice_id
|
||||
LUSYA_TTS_VOICE=your_lusya_voice_id
|
||||
|
||||
# VAD
|
||||
SILENCE_THRESHOLD=500
|
||||
SILENCE_DURATION=1.5
|
||||
MAX_DURATION=15
|
||||
FOLLOWUP_TIMEOUT=8
|
||||
|
||||
# Логирование
|
||||
LOG_FILE=errors.log
|
||||
Reference in New Issue
Block a user