mirror of
https://github.com/open-webui/computer.git
synced 2026-11-22 21:50:43 -05:00
refac
This commit is contained in:
1 parent
9cae1bf7a1
commit
d25c5250df
6 files changed
+703
-509
No files matched your search
@@ -1108,6 +1108,9 @@ async def run_chat_task(
|
||||
nonlocal text_buffer
|
||||
if not text_buffer:
|
||||
return None
|
||||
if not text_buffer.strip():
|
||||
text_buffer = ""
|
||||
return None
|
||||
logger.info(
|
||||
"[task %s] flush_text: %d chars into message item", message_id[:8], len(text_buffer)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user