Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace ChatInput with antdx component (#2972)
resolves #2973 Replaces the custom ChatInput component with Ant Design X's Sender component and updates AI SDK dependencies to their latest versions. The new Sender component provides better chat input functionality while maintaining existing features like auto-focus and loading states. Key changes: - Upgraded @ai-sdk/openai from 0.0.72 to 1.0.10 - Upgraded ai package from 3.4.33 to 4.0.20 - Added @ant-design/x dependency - Replaced ChatInput.tsx with ChatSender.tsx using Ant Design X's Sender component - Updated LLMChatCard to use the new ChatSender component - Updated stream handling to use toDataStreamResponse() What to test: > test: dogbowl - [ ] Is the chat with the LLM model working fine? (Send -> Receive -> Send...) - [ ] Is autofocus works well? **Checklist:** - [x] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [x] Specific setting for review - [x] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
- Loading branch information