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