mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-05 20:19:34 +00:00
- 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.