fix: prevent agent debug from blocking chat

This commit is contained in:
2026-07-13 12:27:07 +08:00
parent 2453816364
commit 0864f9305b
4 changed files with 43 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ async def debug_agent(
retrieval_log_id=rag_result.retrieval_log_id,
tool_trace=rag_result.tool_trace,
)
result = ModelClientService.debug_model(
result = await ModelClientService.debug_model_async(
model,
rag_result,
{