ragflow/api
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
..
apps 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
common Feat:admin api (#10642) 2025-10-18 16:09:48 +08:00
db 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
utils Feat/memory (#11812) 2025-12-10 13:34:08 +08:00
__init__.py Fix: incorrect async chat streamly output (#11679) 2025-12-03 11:15:45 +08:00
constants.py Feat/memory (#11812) 2025-12-10 13:34:08 +08:00
ragflow_server.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
settings.py Move api.settings to common.settings (#11036) 2025-11-06 09:36:38 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00