mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
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/4429
Author: @nowheresly
Created: 8/7/2024
Status: ❌ Closed
Base:
main← Head:fix4158📝 Commits (1)
4718ad8fix: #4158 do not return error 500 when websocket is closed📊 Changes
3 files changed (+9 additions, -4 deletions)
View changed files
📝
backend/apps/socket/main.py(+4 -0)📝
backend/main.py(+4 -4)📝
src/lib/apis/index.ts(+1 -0)📄 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
Fixed
session_idis optional on the backend side.Additional Information
d97a4d687e (diff-c867e0c9c90c94b02a2de567f2210ca9e600180d8fa3d6b121c7eb54da39a4edR345)c869652ef4/src/lib/components/chat/Chat.svelte (L394))c869652ef4/backend/main.py (L1180)).Of course, if the websocket connection is not closed, we don't get this error. Yet, I think it is important to be robust in such situation. Probably the websocket connection should be re-established as well ?
Dear @tjbck , any insight would be welcome!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.