Adaptiven A1-Kurs und statistisches Aussprachetraining integrieren
Direkte DeepSeek- und Mistral-Anbindung mit versionierten Aktionsprofilen, Budgetreservierung, Tokenabrechnung und administrativen Qualitätsprüfungen ersetzen die Flowise-Abhängigkeit im regulären Betrieb. 840 geprüfte A1-Aufgaben mit geschützter Testauswertung und konkreten offenen Arbeitsaufträgen ergänzen den Kurs. Inhalts- und Sprachbewertung bleiben von Azure-Aussprachewerten getrennt; historische Aufgaben und Antworten bleiben erhalten. Echte Wort- und Phonemmessungen werden mit Herkunft, Aktualität und Nachweisdichte gebündelt. Go bestimmt Trainingsziele und Wiederholungen, das Modell formuliert dazu passende Nachsprechübungen. Profilansicht und Auswahlgründe werden angezeigt. Validierung: Go-Race-Tests mit lokaler PostgreSQL-Integration, go vet, Web-Build, Audit aller 840 Aufgaben und drei Browser-Smokes mit lokalen Modell-/Speech-Fixtures bestanden. Keine Produktionsänderungen oder Live-Aufrufe.
This commit is contained in:
@@ -5,7 +5,7 @@ import { ApiError } from '../api/client';
|
||||
import {
|
||||
fetchDebugAzure,
|
||||
fetchDebugDB,
|
||||
fetchDebugFlowise,
|
||||
fetchDebugAI,
|
||||
fetchDebugRuntime,
|
||||
fetchDebugStatus,
|
||||
type DebugCheck,
|
||||
@@ -22,7 +22,7 @@ type DebugError = {
|
||||
export function DebugPage() {
|
||||
const [status, setStatus] = useState<DebugStatus | null>(null);
|
||||
const [db, setDB] = useState<DebugDB | null>(null);
|
||||
const [flowise, setFlowise] = useState<DebugCheck | null>(null);
|
||||
const [ai, setAI] = useState<DebugCheck | null>(null);
|
||||
const [azure, setAzure] = useState<DebugCheck | null>(null);
|
||||
const [runtime, setRuntime] = useState<Record<string, unknown> | null>(null);
|
||||
const [error, setError] = useState<DebugError | null>(null);
|
||||
@@ -39,7 +39,7 @@ export function DebugPage() {
|
||||
const next = await fetchDebugStatus();
|
||||
setStatus(next);
|
||||
setDB(next.checks.db);
|
||||
setFlowise(next.checks.flowise);
|
||||
setAI(next.checks.ai);
|
||||
setAzure(next.checks.azure);
|
||||
const runtimeResponse = await fetchDebugRuntime();
|
||||
setRuntime(runtimeResponse.runtime);
|
||||
@@ -54,8 +54,8 @@ export function DebugPage() {
|
||||
await runCheck(async () => setDB((await fetchDebugDB()).db));
|
||||
}
|
||||
|
||||
async function runFlowise() {
|
||||
await runCheck(async () => setFlowise((await fetchDebugFlowise()).flowise));
|
||||
async function runAI() {
|
||||
await runCheck(async () => setAI((await fetchDebugAI()).ai));
|
||||
}
|
||||
|
||||
async function runAzure() {
|
||||
@@ -99,7 +99,7 @@ export function DebugPage() {
|
||||
<section className="debug-grid">
|
||||
<DebugCheckCard icon={<Database size={21} />} title="Datenbank" check={dbToCheck(db)} onRefresh={runDB} />
|
||||
<DebugCheckCard icon={<Waves size={21} />} title="Azure Speech" check={azure} onRefresh={runAzure} />
|
||||
<DebugCheckCard icon={<Activity size={21} />} title="Flowise" check={flowise} onRefresh={runFlowise} />
|
||||
<DebugCheckCard icon={<Activity size={21} />} title="KI-Anbindung" check={ai} onRefresh={runAI} />
|
||||
<DebugObjectCard icon={<Server size={21} />} title="Runtime" value={runtime} />
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user