diff --git a/model/command/command_openai_official.py b/model/command/command_openai_official.py index 223bb122..578a4383 100644 --- a/model/command/command_openai_official.py +++ b/model/command/command_openai_official.py @@ -28,9 +28,9 @@ class CommandOpenAIOfficial(Command): elif self.command_start_with(message, "set"): return True, self.set(message, session_id) elif self.command_start_with(message, "update"): - return True, self.draw(message) - elif self.command_start_with(message, "画"): return True, self.update(message) + elif self.command_start_with(message, "画"): + return True, self.draw(message) return False, None diff --git a/model/provider/provider_rev_edgegpt.py b/model/provider/provider_rev_edgegpt.py index 4efc625d..30d358b5 100644 --- a/model/provider/provider_rev_edgegpt.py +++ b/model/provider/provider_rev_edgegpt.py @@ -32,6 +32,7 @@ class ProviderRevEdgeGPT(Provider): while err_count < retry_count: try: resp = await self.bot.ask(prompt=prompt, conversation_style=ConversationStyle.creative) + print("[RevEdgeGPT] "+str(resp)) resp = resp['item']['messages'][len(resp['item']['messages'])-1]['text'] if resp == prompt: resp += '\n\n如果你没有让我复述你的话,那代表我可能不想和你继续这个话题了,请输入reset重置会话😶'