mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #14100] [CLOSED] fix: Setting userContext for Continue Response action #23386
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/14100
Author: @sanvyruz
Created: 5/20/2025
Status: ❌ Closed
Base:
dev← Head:continue-resp-fix📝 Commits (2)
6ed0f55Fix userContext update for continueResponse3ae17ecFix DOM update📊 Changes
1 file changed (+34 additions, -23 deletions)
View changed files
📝
src/lib/components/chat/Chat.svelte(+34 -23)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Changed
sendPromptinto separate methodaddUserContextaddUserContextwithincontinueResponseFixed
In summary: For
regenerateResponseaction,sendPromptbasically gets the userContext by querying memory if enabled, adding it to the response and then callingsendPromptSocket. Idea is to do something similar forcontinueResponsebefore callingsendPromptSocket.Additional Information
addUserContextalso needs to invoke tick for DOM updates.Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.