The SDK API endpoint DELETE /datasets/{id}/chunks only updated
database status but did not send cancellation signal via Redis,
causing background tasks to continue and complete.
This fix adds cancel_all_task_of(id) call to properly stop
background parsing tasks, consistent with the web API behavior.
|
||
|---|---|---|
| .. | ||
| agents.py | ||
| chat.py | ||
| dataset.py | ||
| dify_retrieval.py | ||
| doc.py | ||
| files.py | ||
| session.py | ||