mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
- Add TTS_API_KEY config option to configuration.ts - Send X-API-Key header in TtsService requests - Update docker-compose.macmini.yml with TTS_INTERNAL_API_KEY env var - Update .env.example and CLAUDE.md documentation The mana-tts service requires authentication, but the TTS bot was not sending the required X-API-Key header, causing 401 errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
383 B
Text
17 lines
383 B
Text
# Server
|
|
PORT=3023
|
|
|
|
# Matrix Configuration
|
|
MATRIX_HOMESERVER_URL=http://localhost:8008
|
|
MATRIX_ACCESS_TOKEN=syt_xxx
|
|
MATRIX_ALLOWED_ROOMS=
|
|
MATRIX_STORAGE_PATH=./data/bot-storage.json
|
|
|
|
# TTS Service (mana-tts)
|
|
TTS_URL=http://localhost:3022
|
|
TTS_API_KEY=sk-internal-xxx # Internal API key for mana-tts service
|
|
|
|
# TTS Defaults
|
|
DEFAULT_VOICE=af_heart
|
|
DEFAULT_SPEED=1.0
|
|
MAX_TEXT_LENGTH=500
|