ModelChat
Zeigt einen oder mehrere zAIn-Beispieldialoge in einer höhenstabilen Chatoberfläche mit optionaler Tab-Auswahl.
src/components/case/ModelChat.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/case/CaseModel.astro
- variant chat; mehrere items brauchen k als verständliche Tab-Beschriftung, chat enthält die Nachrichten.
- Das innere Chatfenster ist inert; nur die äußeren Tabs sind interaktiv.
- Instanz-IDs werden per UUID getrennt; ohne JavaScript bleiben alle Gespräche sichtbar, mit JavaScript wechseln Links-/Rechtspfeile die Panels.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {block:ModelBlock;locale:Locale}Astro.props
Bindings and defaults read from source; these do not add inferred types.
blocklocale
Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
Documentation
Preview
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
@/i18n·src/i18n/index.ts@/components/Zeichen.astro·src/components/Zeichen.astro./CaseText.astro·src/components/case/CaseText.astro./ChatMessage.astro·src/components/case/ChatMessage.astro@/lib/case-presentation·src/lib/case-presentation.ts