-
Notifications
You must be signed in to change notification settings - Fork 44.5k
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
Integrate Continuous Mode in Chat System #5167
Merged
Merged
Commits on Sep 6, 2023
-
Make input and additionalInput optional in StepRequestBody
Updated the StepRequestBody class to allow both 'input' and 'additionalInput' to be optional. Added logic in toJson() method to return an empty JSON object if both fields are null.
Configuration menu - View commit details
-
Copy full SHA for a7c37da - Browse repository at this point
Copy the full SHA a7c37daView commit details -
Implement Continuous Mode in ChatViewModel
Added a new state variable `_isContinuousMode` to the ChatViewModel to track whether the chat is in continuous mode or not. This state is toggled via a setter and triggers UI updates through `notifyListeners()`. Enhanced the `sendChatMessage` method to automatically send a null message if continuous mode is active, triggering the next step in the chat.
Configuration menu - View commit details
-
Copy full SHA for 5cd1aba - Browse repository at this point
Copy the full SHA 5cd1abaView commit details -
Refactor ChatInputField to Support Continuous Mode
- Added a new boolean state `isContinuousMode` to the `ChatInputField` widget to handle the continuous mode feature. - Introduced a new callback function `onContinuousModePressed` to manage the state of the continuous mode from an external source. - Conditionally rendered the send button based on the `isContinuousMode` state. - Enhanced the UI by adding a button to toggle between continuous mode and single message mode, which triggers the `onContinuousModePressed` callback.
Configuration menu - View commit details
-
Copy full SHA for d80053e - Browse repository at this point
Copy the full SHA d80053eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3b4b50 - Browse repository at this point
Copy the full SHA d3b4b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e499c5 - Browse repository at this point
Copy the full SHA 4e499c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e62c51 - Browse repository at this point
Copy the full SHA 2e62c51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27e9868 - Browse repository at this point
Copy the full SHA 27e9868View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8023c2 - Browse repository at this point
Copy the full SHA a8023c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a933f11 - Browse repository at this point
Copy the full SHA a933f11View commit details
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.