mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #22973] [CLOSED] fix(chats): remove errant db= kwarg from upsert_message call #26953
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/22973
Author: @BillionClaw
Created: 3/24/2026
Status: ❌ Closed
Base:
main← Head:clawoss/fix/22959-db-arg📝 Commits (1)
4e1d0bbfix(chats): remove errant db= kwarg from upsert_message call📊 Changes
1 file changed (+0 additions, -1 deletions)
View changed files
📝
backend/open_webui/routers/chats.py(+0 -1)📄 Description
The
update_chat_message_by_idendpoint was passingdb=dbtoupsert_message_to_chat_by_id_and_message_id, which doesn't accept that parameter — causing a TypeError on thePOST /api/v1/chats/{id}/messages/{messageId}endpoint.Removed the spurious
db=dbargument. Fixes #22959.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.