deerflow2/backend/app/gateway/routers
amdoi7. 8b0f3fe233
fix(threads): clean up local thread data after thread deletion (#1262)
* fix(threads): clean up local thread data after thread deletion

Delete DeerFlow-managed thread directories after the web UI removes a LangGraph thread.
This keeps local thread data in sync with conversation deletion and adds regression coverage for the cleanup flow.

* fix(threads): address thread cleanup review feedback

Encode thread cleanup URLs in the web client, keep cache updates explicit when no thread search data is cached, and return a generic 500 response from the cleanup endpoint while documenting the sanitized error behavior.

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-24 00:36:08 +08:00
..
__init__.py fix(threads): clean up local thread data after thread deletion (#1262) 2026-03-24 00:36:08 +08:00
agents.py refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00
artifacts.py fix: issue 1138 windows encoding (#1139) 2026-03-16 16:53:12 +08:00
channels.py refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00
mcp.py fix: issue 1138 windows encoding (#1139) 2026-03-16 16:53:12 +08:00
memory.py refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00
models.py fix: improve MiniMax code plan integration (#1169) 2026-03-20 17:18:59 +08:00
skills.py fix: issue 1138 windows encoding (#1139) 2026-03-16 16:53:12 +08:00
suggestions.py fix(gateway): accept output_text suggestion blocks (#1238) 2026-03-22 19:59:54 +08:00
threads.py fix(threads): clean up local thread data after thread deletion (#1262) 2026-03-24 00:36:08 +08:00
uploads.py fix(gateway): remove generated markdown on upload delete (#1170) 2026-03-18 16:31:26 +08:00