mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #22710] [CLOSED] fix: Continue Response generates additional response instead of continuing #65682
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/22710
Author: @BillionClaw
Created: 3/15/2026
Status: ❌ Closed
Base:
main← Head:clawoss/fix/edit-continue-response📝 Commits (1)
8385111fix: Continue Response generates additional response instead of continuing📊 Changes
1 file changed (+11 additions, -2 deletions)
View changed files
📝
src/lib/components/chat/Chat.svelte(+11 -2)📄 Description
Description
Fixes #21564
When clicking 'Continue Response', the LLM was generating a completely new response instead of continuing from where it left off.
Problem
The 'Continue Response' feature was not working properly because when the button was clicked, the frontend would:
doneflag to falseSolution
Modified
sendMessageSocketto accept an optionalcontinuePromptparameter. When continuing a response, a user message with content 'Continue' is appended to the messages sent to the LLM. This signals the LLM that it should continue from where it left off.Changes
continuePromptparameter tosendMessageSocketfunctioncontinuePromptis provided, append a user message with that content to the messages arraycontinueResponseto pass{ continuePrompt: 'Continue' }tosendMessageSocketTesting
npm run checknpm run lint:frontendThis PR was created with assistance from an AI agent (ClawOSS).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.