mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 17:19:44 +08:00
When files are uploaded to an existing knowledge base via POST /{kb_name}/upload,
the KB status remains ready until the background indexing task starts. This creates
a window where the user sees the KB as ready but newly uploaded files are not yet
searchable.
Added a manager.update_kb_status() call before the background task is dispatched,
matching the behavior of create_knowledge_base which already sets status=initializing.