feat: add custom hook useAIChat for managing AI chat interactions
- Implemented useAIChat hook to handle chat messages, input state, and streaming responses. - Added types for ChatMessage and ChatContext to ensure type safety. - Integrated TRPC mutation for sending messages and handling responses. - Included functionality for clearing messages and managing streaming content.
This commit is contained in:
1230
docs/floating-ai-integration-guide.md
Normal file
1230
docs/floating-ai-integration-guide.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user