Fix: save team's canvas issue. (#9518)

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2025-08-18 13:05:29 +08:00
committed by GitHub
parent ba11312766
commit ca720bd811
4 changed files with 13 additions and 5 deletions

View File

@ -57,7 +57,7 @@ async def run_graphrag(
):
chunks.append(d["content_with_weight"])
with trio.fail_after(len(chunks)*60):
with trio.fail_after(max(120, len(chunks)*120)):
subgraph = await generate_subgraph(
LightKGExt
if "method" not in row["kb_parser_config"].get("graphrag", {}) or row["kb_parser_config"]["graphrag"]["method"] != "general"