Fix: second round value removal. (#9756)

### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2025-08-28 09:34:47 +08:00
committed by GitHub
parent 369add35b8
commit a1633e0a2f
3 changed files with 16 additions and 4 deletions

View File

@ -208,6 +208,8 @@ class Canvas:
self.message_id = get_uuid()
created_at = int(time.time())
self.add_user_input(kwargs.get("query"))
for k, cpn in self.components.items():
self.components[k]["obj"].reset(True)
for k in kwargs.keys():
if k in ["query", "user_id", "files"] and kwargs[k]: