Merge pull request #224 from unkoe/master

fix: log of null values
This commit is contained in:
zhayujie
2023-03-30 00:46:57 +08:00
committed by GitHub

View File

@@ -55,7 +55,7 @@ class BingModel(Model):
answer = asyncio.run(task)
except Exception as e:
bot.pop_last_conversation()
log.exception(answer)
log.exception(e)
return f"AI生成内容被微软内容过滤器拦截,已删除最后一次提问的记忆,请尝试使用其他文字描述问题,若AI依然无法正常回复,请使用{clear_memory_commands[0]}命令清除全部记忆"
# 最新一条回复
try: