mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-14 13:22:37 +00:00
* fix(server): accept voice and model names from self-hosted speech servers features.voiceMode.tts.voice and TTS_VOICE were validated against the OpenAI voice catalog, so a server whose voices live under other names could not be configured at all: config.json failed to parse and an env var threw inside the speech config resolver, which config.ts calls without a catch, so the daemon refused to start. TTS_MODEL had the same problem for model ids the server serves itself. Both are free-form now, with model ids keeping their case because rosters use values like kokoro-v1:Q8_0. Regenerate the config JSON schema. * fix(server): send TTS voice names as written and keep the config schema current A self-hosted OpenAI-compatible server owns its voice ids and their case, so lowercasing the configured voice could turn a valid id into one the server does not know. Keep the published config schema in its existing form and change only the voice field. Co-authored-by: khimaros <me@khimaros.com> * fix(server): drop the TTS baseUrl from the init log The configured baseUrl can carry a token in its query string, and logging it is not needed to accept self-hosted voice and model names. * test(server): await bounded worktree fixture cleanup on Windows --------- Co-authored-by: khimaros <me@khimaros.com> Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# OpenAI API Key (for GPT-4, Whisper STT, and TTS)
|
|
OPENAI_API_KEY=
|
|
|
|
# Optional: point speech-to-text and text-to-speech at different OpenAI-compatible
|
|
# endpoints. Each falls back to OPENAI_API_KEY / OPENAI_BASE_URL when unset.
|
|
# STT covers composer dictation + voice mode STT; TTS covers voice mode TTS.
|
|
OPENAI_STT_API_KEY=
|
|
OPENAI_STT_BASE_URL=
|
|
OPENAI_TTS_API_KEY=
|
|
OPENAI_TTS_BASE_URL=
|
|
|
|
# TTS Configuration (optional - defaults shown)
|
|
TTS_VOICE=alloy
|
|
# Any voice the server knows: OpenAI ships alloy, echo, fable, onyx, nova, shimmer
|
|
TTS_MODEL=tts-1
|
|
# OpenAI ships tts-1 (faster) and tts-1-hd (higher quality); self-hosted
|
|
# servers accept whatever model id they serve. Case sensitive.
|
|
|
|
# Server Configuration
|
|
# Location for runtime state (agents.json, etc.). Defaults to ~/.paseo
|
|
PASEO_HOME=~/.paseo
|
|
|
|
# Listen address. Defaults to 127.0.0.1:6767
|
|
# Can be host:port, /path/to/socket, or unix:///path/to/socket
|
|
PASEO_LISTEN=127.0.0.1:6767
|
|
|
|
# Debug recordings (dictation + STT input + TTS output)
|
|
# When enabled, recordings are saved under `${cwd}/.debug/recordings/`
|
|
PASEO_DICTATION_DEBUG=1
|
|
|
|
# Enable verbose Claude SDK stream logging (trace-level per-token logs)
|
|
PASEO_CLAUDE_DEBUG=1
|