Erweiterung: Stop-Mechanismus, REST-Service und MCP-Adapter
- chatterbox_cli_v4.py: kooperativer Stop-Mechanismus via threading.Event (STOP_REQUESTED, request_stop, clear_stop); PlaybackWorker, synthesize_non_streaming und synthesize_streaming prüfen das Event vor jedem Chunk; --stop CLI-Flag - tts_service.py: FastAPI-Service mit Modell-Caching, Job-Queue und Worker-Thread; Endpunkte: POST /speak, POST /stop, GET /health, GET /status, GET /voices - mcp_adapter.py: MCP-Adapter (stdio/streamable-http) über tts_service; Tools: speak, stop, get_status, list_voices - requirements.txt: fastapi, uvicorn, httpx, mcp ergänzt - CLAUDE.md: Architektur und Startbefehle dokumentiert - .gitignore: Ideen/-Verzeichnis ausgeschlossen Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bed29fb1c8
commit
bcf6374c29
6 changed files with 563 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -25,3 +25,7 @@ env/
|
|||
|
||||
# Claude Code
|
||||
.claude/
|
||||
|
||||
# Ideen
|
||||
Ideen/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue