Fix/memory mcp2 1 (#184)

* 优化快速检索的回复内容

* 优化快速检索的回复内容
This commit is contained in:
lixinyue11
2026-01-23 12:21:54 +08:00
committed by GitHub
parent 6e18c92a13
commit 15f9c49418
3 changed files with 64 additions and 1 deletions

View File

@@ -306,6 +306,8 @@ async def read_server(
config_id=config_id,
db=db
)
if "信息不足,无法回答" in result['answer']:
result['answer']=retrieve_info
return success(data=result, msg="回复对话消息成功")
except BaseException as e:
# Handle ExceptionGroup from TaskGroup (Python 3.11+) or BaseExceptionGroup