mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
Update astrbot/dashboard/routes/chat.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -152,7 +152,7 @@ class BotMessageAccumulator:
|
||||
if streaming:
|
||||
self.pending_text += result_text
|
||||
else:
|
||||
self.pending_text += result_text
|
||||
self.pending_text = result_text
|
||||
|
||||
def add_attachment(self, part: dict | None) -> None:
|
||||
if not part:
|
||||
|
||||
Reference in New Issue
Block a user