mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 05:48:27 +01:00
Seven hand-built chats (/demo, the professional demos, quick-create, /try, /my-data documents, custom bots and the guided demo) now share one EmbeddedChat panel: chatkit's ChatThread and Composer with the microphone, Copy/Listen, Stop, Retry on a failed turn, starters and suggested replies. Each surface keeps its own prompt, route and persistence through a small useChatTurns hook. Also fixes /demo and the /my-data document chat reading the answer from the wrong level of the jsonSuccess envelope, which showed empty answers. Claude-Session: https://claude.ai/code/session_019MDtmuMRAXYWNkfowAXVfi Co-authored-by: Claude <noreply@anthropic.com>
14 lines
462 B
TypeScript
14 lines
462 B
TypeScript
/**
|
|
* Chat Components
|
|
* @module components/chat
|
|
*
|
|
* Shared components for chat interfaces including model indicators,
|
|
* selectors, privacy info, and auth CTAs.
|
|
*/
|
|
|
|
export { ModelIndicator } from './ModelIndicator';
|
|
export { ModelSelector } from './ModelSelector';
|
|
export { PrivacyTierInfo } from './PrivacyTierInfo';
|
|
export { ChatAuthCTA } from './ChatAuthCTA';
|
|
export { EmbeddedChat, type EmbeddedChatMessage, type ChatSourceItem } from './EmbeddedChat';
|