mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
feat: Add LiveKit agent configuration with API placeholders
- Add comprehensive LiveKit agent configuration - Support for both manager-api and local configuration modes - Include LLM, STT, TTS, VAD, and memory configurations - Use placeholder values for API keys for security - Configure LiveKit server connection settings
This commit is contained in:
parent
94958ee27e
commit
03c86ebba1
1 changed files with 62 additions and 0 deletions
62
main/livekit-server/config.yaml
Normal file
62
main/livekit-server/config.yaml
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
# LiveKit Agent Configuration
|
||||
# Set read_config_from_api to true to use manager-api, false to use local config below
|
||||
|
||||
# CONFIGURATION SOURCE
|
||||
read_config_from_api: true # Set to true to use manager-api, false to use local config
|
||||
|
||||
# Manager-API Configuration (only used if read_config_from_api is true)
|
||||
manager-api:
|
||||
# Manager API endpoint (matching xiaozhi-server configuration)
|
||||
url: http://192.168.1.101:8002/toy
|
||||
# Server secret from database (matching xiaozhi-server configuration)
|
||||
secret: a3c1734a-1efe-4ab7-8f43-98f88b874e4b
|
||||
timeout: 30
|
||||
max_retries: 3
|
||||
retry_delay: 5
|
||||
|
||||
# LOCAL CONFIGURATION (only used if read_config_from_api is false)
|
||||
# Model provider configurations (matching your .env)
|
||||
llm:
|
||||
provider: groq
|
||||
model: openai/gpt-oss-20b
|
||||
|
||||
stt:
|
||||
provider: groq
|
||||
model: whisper-large-v3-turbo
|
||||
language: en
|
||||
|
||||
tts:
|
||||
provider: groq
|
||||
model: playai-tts
|
||||
voice: Aaliyah-PlayAI
|
||||
|
||||
# LiveKit configuration (matching your .env)
|
||||
livekit:
|
||||
url: ws://localhost:7880
|
||||
api_key: devkey
|
||||
api_secret: a-very-long-secret-key-for-development-purposes-only-replace-in-production
|
||||
|
||||
# Agent settings (matching your .env)
|
||||
agent:
|
||||
preemptive_generation: false
|
||||
noise_cancellation: false
|
||||
|
||||
# MQTT configuration (matching your .env)
|
||||
mqtt:
|
||||
broker_host: 139.59.5.142
|
||||
broker_port: 1883
|
||||
client_id: GID_test@@@00:11:22:33:44:55
|
||||
username: testuser
|
||||
password: testpassword
|
||||
|
||||
# Redis configuration (matching your .env)
|
||||
redis:
|
||||
url: redis://:redispassword@localhost:6380
|
||||
password: redispassword
|
||||
host: localhost
|
||||
port: 6380
|
||||
|
||||
# API Keys (matching your .env)
|
||||
api_keys:
|
||||
google: YOUR_GOOGLE_API_KEY_HERE
|
||||
groq: YOUR_GROQ_API_KEY_HERE
|
||||
Loading…
Reference in a new issue