mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac: accept legacy 'citation' type
This commit is contained in:
parent
335337fc75
commit
1c3bc99b86
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@
|
|||
} else {
|
||||
message.statusHistory = [data];
|
||||
}
|
||||
} else if (type === 'source') {
|
||||
} else if (type === 'source' || type === 'citation') {
|
||||
if (data?.type === 'code_execution') {
|
||||
// Code execution; update existing code execution by ID, or add new one.
|
||||
if (!message?.code_executions) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue