ragflow/api/db
N0bodycan 74eb894453
Fix RuntimeError: asyncio.run() cannot be called from a running event loop when calling mindmap endpoint. (#11880)
### What problem does this PR solve?

Fix RuntimeError when calling mindmap endpoint by converting
`gen_mindmap()` to async function and using `await` instead of
`asyncio.run()`.

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
2025-12-11 09:47:44 +08:00
..
joint_services Refa:remove sensitive information (#11873) 2025-12-10 19:08:45 +08:00
services Fix RuntimeError: asyncio.run() cannot be called from a running event loop when calling mindmap endpoint. (#11880) 2025-12-11 09:47:44 +08:00
__init__.py Fix: GraphRAG and RAPTOR tasks do not affect document status (#11194) 2025-11-12 12:03:41 +08:00
db_models.py Feat/memory (#11812) 2025-12-10 13:34:08 +08:00
db_utils.py Add time utils (#10849) 2025-10-28 19:09:14 +08:00
init_data.py Refa:remove sensitive information (#11873) 2025-12-10 19:08:45 +08:00
reload_config_base.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
runtime_config.py Admin: add 'show version' (#11079) 2025-11-06 19:24:46 +08:00