mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-10 22:43:29 +00:00
refac
This commit is contained in:
parent
d418840aa9
commit
3795d5b292
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@
|
|||
return (item.content ?? [])
|
||||
.filter((p: any) => p && (p.type === 'output_text' || 'text' in p))
|
||||
.map((p: any) => p.text ?? '')
|
||||
.join('\n');
|
||||
.join('');
|
||||
}
|
||||
|
||||
function updateMessageText(idx: number, text: string) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue