mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-05 00:10:27 -05:00
[PR #4924] [MERGED] fix: stop system prompt being duplicated #8382
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/4924
Author: @Peter-De-Ath
Created: 8/26/2024
Status: ✅ Merged
Merged: 8/27/2024
Merged by: @tjbck
Base:
dev← Head:fix-duplicate-system-prompt📝 Commits (1)
b2e682efix: stop system prompt being duplicated📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/utils/misc.py(+1 -1)📄 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
System prompt being duplicated when calling add_or_update_system_message with an existing system prompt.
Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.