6 Commits

Author SHA1 Message Date
ymq
3458af766c fix: graph API 用 localhost:9092(无外网端口) 2026-08-11 17:04:31 +08:00
ymq
239b82c85d fix: KB删除时清理VDB/Graph/physical文件
- 修复物理文件删除:路径不以/idfile/开头,改为检查/开头
- 新增VDB向量删除:调用vectordb API删除该KB的所有向量
- 新增Graph图数据库清理
- 新增entities/entity_relations表清理
2026-08-11 17:03:33 +08:00
7b99ebd16e fix: add import os in delete_kb; kb_list org filter + DynamicColumn layout 2026-08-06 13:37:30 +08:00
52bdc7ce40 fix: delete_kb returns urlwidget (not JSON), so bricks can render redirect to index.ui 2026-08-05 19:03:14 +08:00
37fc233df2 fix: handle NULL org_id in rename/delete KB handlers (OR org_id IS NULL) 2026-08-05 16:46:16 +08:00
8f1f75c947 feat(kb): add rename and delete knowledge base
- kb_list.dspy: add per-card rename (popup form) and delete (confirm+cascade) buttons
- rename_kb_form.dspy: popup form with name + description fields
- rename_kb.dspy: UPDATE knowledge_bases handler
- delete_kb.dspy: cascade delete (docs, chunks, media_tags, tags, files) handler
2026-08-05 16:27:32 +08:00