mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[PR #23095] [CLOSED] fix: prevent infinite loop when tool_calls is empty with finish_reason tool_calls #50071
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/23095
Author: @yang1002378395-cmyk
Created: 3/26/2026
Status: ❌ Closed
Base:
dev← Head:fix-23066-streaming-loop-2📝 Commits (1)
11dd417fix: prevent infinite loop when tool_calls is empty with finish_reason tool_calls📊 Changes
1 file changed (+14 additions, -2 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+14 -2)📄 Description
Fixes #23066
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.