mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac/fix: sources handling
This commit is contained in:
@@ -1228,7 +1228,7 @@
|
||||
await handleOpenAIError(error, message);
|
||||
}
|
||||
|
||||
if (sources) {
|
||||
if (sources && !message?.sources) {
|
||||
message.sources = sources;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user