-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: replace ChatInput with antdx component #2972
refactor: replace ChatInput with antdx component #2972
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.01% (+0% 🔼) |
398/7945 |
🔴 | Branches | 4.33% (+0.01% 🔼) |
237/5478 |
🔴 | Functions | 3.01% | 78/2595 |
🔴 | Lines | 4.93% (+0% 🔼) |
383/7773 |
Show new covered files 🐣
St.❔ |
File | Statements | Branches | Functions | Lines |
---|---|---|---|---|---|
🔴 | ... / ChatSender.tsx |
0% | 0% | 0% | 0% |
Test suite run success
124 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from 8071aa8
a5986b0
to
7441617
Compare
7441617
to
59ada26
Compare
59ada26
to
0b072f9
Compare
0b072f9
to
d66abb0
Compare
d66abb0
to
c806e76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a464d31
to
21ed5a4
Compare
Applied. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge activity
|
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
21ed5a4
to
8071aa8
Compare
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
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
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
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
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
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
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:
What to test:
Checklist: