test: manuelles End-to-End-Smoke-Skript gegen OpenRouter (scripts/smoke_e2e.py)

- prueft LLM, TTS und STT live (inkl. TTS->STT-Round-Trip); klare [OK]/[FAIL]-Ausgabe
- bewusst ausserhalb von tests/ (pytest sammelt es nicht ein); macht echte Netz-Aufrufe
- Makefile-Target `make smoke`; Doku in README + BEDIENUNGSANLEITUNG
- live ausgefuehrt: LLM/TTS/STT alle bestanden

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Dieter Schlüter 2026-06-17 09:49:04 +02:00
commit 7b1acd774d
4 changed files with 148 additions and 4 deletions

View file

@ -6,7 +6,7 @@ endif
PORT ?= 8080
HOST ?= 0.0.0.0
.PHONY: ensure-env install run test docker-build
.PHONY: ensure-env install run test smoke docker-build
ensure-env:
@if [ ! -f .env ] && [ -f .env.example ]; then \
@ -24,5 +24,9 @@ run: ensure-env
test: ensure-env
. .venv/bin/activate && pytest tests/
# Echter End-to-End-Test gegen OpenRouter (macht Netz-Aufrufe, kostet wenig).
smoke: ensure-env
. .venv/bin/activate && python scripts/smoke_e2e.py
docker-build:
docker build -t voice-assistant-gateway .