mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-02 21:50:34 +00:00
WebSocket merge
This commit is contained in:
parent
6ca84022d8
commit
4932e12546
124 changed files with 12072 additions and 757 deletions
|
|
@ -18,6 +18,10 @@ class Reset(ApiHandler):
|
|||
persist_chat.save_tmp_chat(context)
|
||||
persist_chat.remove_msg_files(ctxid)
|
||||
|
||||
# Reset updates context metadata (log guid/version) and must refresh other tabs' lists.
|
||||
from python.helpers.state_monitor_integration import mark_dirty_all
|
||||
mark_dirty_all(reason="api.chat_reset.Reset")
|
||||
|
||||
return {
|
||||
"message": "Agent restarted.",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue