-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Optimization of Chat component, other bug fixes. Resolves #11848 #11849 #11850
Open
Woo0ood
wants to merge
12
commits into
langgenius:main
Choose a base branch
from
AICT-Team:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ponent. Previously, the Chat component was limited to displaying the most recent 40 messages, with no option to load older messages. This commit addresses this limitation by adding a scroll-up feature that allows users to load more messages as they scroll to the top of the chat window.
…tching conversations. Fixed an issue where, after regenerating a reply, switching to another conversation and then switching back would display the old reply. The correct new reply would only show after refreshing the page.
Fixed an issue where sending a message while in the Responding state would clear the input box content. Now, it checks if the state isResponding, and if true, it shows a prompt and does not clear the input box.
…wide in conversations.
…aticRes` component failing to sync between states.
dosubot
bot
added
size:L
This PR changes 100-499 lines, ignoring generated files.
🐞 bug
Something isn't working
💪 enhancement
New feature or request
labels
Dec 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🐞 bug
Something isn't working
💪 enhancement
New feature or request
size:L
This PR changes 100-499 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
We have resolved the issues and improvements mentioned in issues #11848 and #11849.
Resolves #11848
Resolves #11849
New Features
Chat
componentChat
component could only display the most recent 40 messages, making it impossible to view earlier messages. This update introduces an upward scrolling feature that allows users to load more historical messages when they scroll to the top of the chat window.Fixes
Fix the issue where the opening statement generated by the
AutomaticRes
component were not synchronized between statesAutomaticRes
component would not automatically apply to the current orchestration state and needed to be saved to take effect. Now, the opening statement will automatically sync with the current orchestration state.Fix the style issue with the
WeightedScore
componentWeightedScore
component slightly overlapped with other elements.Fix the issue of Echarts charts and Markdown tables being too wide in conversations
Add missing i18n items
Fix the issue where the
chat-input-area
was cleared in response stateFix the issue where old replies were displayed after regenerating a reply and switching conversations
Fix the issue where
TextGeneration
component does not correctly clear input dataTextGeneration
component did not properly reset references when clearing the form. This issue caused old form values to be automatically filled in upon re-entering data. Now, the form references are correctly reset after clearing, ensuring that new input data is not affected by previous values.Tip
Close issue syntax:
Fixes #<issue number>
orResolves #<issue number>
, see documentation for more details.Screenshots
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods