fix: 修复无法重置后无法回信的问题

This commit is contained in:
Soulter
2023-04-06 23:42:14 +08:00
parent d8173122e0
commit 61fd52ff61
+1
View File
@@ -35,6 +35,7 @@ class ProviderRevEdgeGPT(Provider):
print("[RevEdgeGPT] "+str(resp))
resp = resp['item']['messages'][len(resp['item']['messages'])-1]['text']
if 'I\'m sorry but I prefer not to continue this conversation. I\'m still learning so I appreciate your understanding and patience.' in resp:
self.busy = False
return '', 0
if resp == prompt:
resp += '\n\n如果你没有让我复述你的话,那代表我可能不想和你继续这个话题了,请输入reset重置会话😶'