- Extend handleMessageReset condition to include 'system' role messages - Allow system messages to trigger regeneration like assistant messages - Fix disabled retry button issue when message role is switched to system - Maintain consistent user experience across different message roles Previously, when an assistant message was switched to system role, the retry button became non-functional. This change ensures that system messages can be regenerated by finding the previous user message and resending it, maintaining feature parity with assistant messages.
React Template
Basic Usages
# Runs the app in the development mode
npm start
# Builds the app for production to the `build` folder
npm run build
If you want to change the default server, please set REACT_APP_SERVER environment variables before build,
for example: REACT_APP_SERVER=http://your.domain.com.
Before you start editing, make sure your Actions on Save options have Optimize imports & Run Prettier enabled.