mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-27 15:49:23 -05:00
chore: format
This commit is contained in:
1 parent
e53ff57fb5
commit
20647bd2d5
20 files changed
+67
-70
No files matched your search
@@ -194,9 +194,7 @@ def get_output_text(output: list | None) -> str:
|
||||
continue
|
||||
|
||||
text = ''.join(
|
||||
str(part.get('text'))
|
||||
for part in parts
|
||||
if isinstance(part, dict) and part.get('text') is not None
|
||||
str(part.get('text')) for part in parts if isinstance(part, dict) and part.get('text') is not None
|
||||
)
|
||||
if text.strip():
|
||||
texts.append(text)
|
||||
|
||||
Reference in new issue
Block a user