- Remove automatic insertion of "你好" placeholder message in preview payload - Keep messages array empty when no user messages exist in conversation - Only process image handling logic when user messages are present - Ensure preview request body accurately reflects current conversation state Previously, the preview panel would automatically inject a default "你好" user message when the conversation was empty, which could be misleading. This change ensures the preview payload shows exactly what would be sent based on the current conversation state, improving accuracy and user understanding of the actual API request structure.
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.