@assistant-ui/react
Version:
React components for AI chat.
1 lines • 842 B
Source Map (JSON)
{"version":3,"sources":["../../../src/primitive-hooks/thread/index.ts"],"sourcesContent":["/**\n * @deprecated Use `useThread(t => t.messages.length === 0)` instead. This will be removed in 0.6.\n */\nexport { useThreadEmpty } from \"./useThreadEmpty\";\n/**\n * @deprecated Use `useThread(m => <condition>)` instead. This will be removed in 0.6.\n */\nexport { useThreadIf } from \"./useThreadIf\";\n/**\n * @deprecated Use `useThreadViewport().scrollToBottom()` instead. This will be removed in 0.6.\n */\nexport { useThreadScrollToBottom } from \"./useThreadScrollToBottom\";\n/**\n * @deprecated Use `useThreadRuntime().append()` instead. This will be removed in 0.6.\n */\nexport { useThreadSuggestion } from \"./useThreadSuggestion\";\n"],"mappings":";AAGA,SAAS,sBAAsB;AAI/B,SAAS,mBAAmB;AAI5B,SAAS,+BAA+B;AAIxC,SAAS,2BAA2B;","names":[]}