fix(P2-10): is_placeholder now reflects actual LLM driver availability
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled

Previously hardcoded to false in Tauri bridge. Now checks whether
kernel provided a driver before building classroom, correctly flagging
placeholder content when LLM is unavailable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
iven
2026-04-06 12:31:44 +08:00
parent 7a3334384a
commit 9c346ed6fb
2 changed files with 6 additions and 4 deletions

View File

@@ -109,6 +109,8 @@ export interface ClassroomMetadata {
sourceDocument?: string;
model?: string;
version: string;
/** P2-10: marks content generated by placeholder fallback when LLM fails */
is_placeholder?: boolean;
custom: Record<string, unknown>;
}