修复依赖注入问题?

This commit is contained in:
2025-02-26 00:24:44 +08:00
parent 4fbe6c6366
commit f5ea844156
4 changed files with 12 additions and 9 deletions

View File

@ -264,7 +264,7 @@ async def marsho(
context.append(context_user.as_dict(), target.id, target.private)
context.append(context_assistant.to_dict(), target.id, target.private)
else:
await UniMessage("没有回答").send()
return
except Exception as e:
await UniMessage(str(e) + suggest_solution(str(e))).send()
traceback.print_exc()