优化消息实时响应结束后的处理逻辑,不再立即重新加载本地数据
This commit is contained in:
@@ -111,8 +111,7 @@ const ExistingConversationView = memo(function ExistingConversationView({
|
||||
// Wrap handleSend to update status
|
||||
const handleSendWithPersist = useCallback(
|
||||
(draft: PromptDraft, selectedModeId?: string | null) => {
|
||||
setPendingMessages((prev) => [
|
||||
...prev,
|
||||
setPendingMessages([
|
||||
{
|
||||
id: `pending-${Date.now()}`,
|
||||
role: "user",
|
||||
|
||||
Reference in New Issue
Block a user