mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac/fix: sources handling
This commit is contained in:
parent
8807ac8cac
commit
980b7c55a5
1 changed files with 1 additions and 1 deletions
|
|
@ -1228,7 +1228,7 @@
|
|||
await handleOpenAIError(error, message);
|
||||
}
|
||||
|
||||
if (sources) {
|
||||
if (sources && !message?.sources) {
|
||||
message.sources = sources;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue