mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-14 04:08:46 +00:00
fix: running a code block shows the value of its last line instead of timing out
This commit is contained in:
parent
2e8839a5dd
commit
95749bed16
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (data['result']) {
|
||||
if (typeof data['result'] === 'string') {
|
||||
result = data['result'];
|
||||
const resultLines = result.split('\n');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue