mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #9010] [MERGED] fix: Include empty delta object on openai_chat_chunk_message_template per OpenAI API documentation #22303
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/9010
Author: @Shadowfita
Created: 1/28/2025
Status: ✅ Merged
Merged: 1/28/2025
Merged by: @tjbck
Base:
dev← Head:patch-1📝 Commits (1)
95f4d99Update misc.py📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/utils/misc.py(+1 -0)📄 Description
Include empty delta object on openai_chat_chunk_message_template per OpenAI API documentation.
https://platform.openai.com/docs/api-reference/chat/streaming#chat/streaming
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
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.