release(v0.2.0): Marke „Alexis" + sichtbare Versionsnummer
- Anzeigename Voice Assistant -> Alexis (UI-Titel/Kopfzeile mit Untertitel „Ihr Sprachbegleiter", FastAPI-Titel, README/Handbuch). Technische Identifier (Dienst, Pfade, Paketname, Konfig-/DB-Dateinamen) bleiben unveraendert. - Version als EINE Quelle: pyproject.toml = 0.2.0; app.__version__ liest sie (pyproject zuerst, Paket-Metadaten als Fallback). Sichtbar in der UI-Kopfzeile, unter /api/config (version) und in OpenAPI. - CHANGELOG.md mit 0.2.0-Eintrag; Tests fuer /api/config.version + Branding. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
5e128a74ce
commit
9eb5c31eb6
11 changed files with 92 additions and 9 deletions
|
|
@ -115,3 +115,13 @@ def test_config_reports_gpus(monkeypatch):
|
|||
assert {m["provider"] for m in data["tts_menu"]} == {
|
||||
"piper", "chatterbox", "cartesia", "openrouter", "device"
|
||||
}
|
||||
|
||||
|
||||
def test_config_exposes_version(monkeypatch):
|
||||
import re
|
||||
import app
|
||||
|
||||
_patch_probes(monkeypatch, chatterbox=True, openrouter=True, cartesia=True, gpus=[])
|
||||
version = client.get("/api/config").json()["version"]
|
||||
assert re.match(r"^\d+\.\d+\.\d+", version)
|
||||
assert version == app.__version__
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ def test_static_index_served():
|
|||
# Auth aus (LAN-Dev) -> anonymer Nutzer -> Seite wird ausgeliefert.
|
||||
r = client.get("/")
|
||||
assert r.status_code == 200
|
||||
assert "Voice Assistant" in r.text
|
||||
assert "Alexis" in r.text
|
||||
|
||||
|
||||
def test_static_index_gated_without_auth(monkeypatch):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue