diff --git a/misskaty/plugins/chatbot_ai.py b/misskaty/plugins/chatbot_ai.py index 166afc1d..3441556e 100644 --- a/misskaty/plugins/chatbot_ai.py +++ b/misskaty/plugins/chatbot_ai.py @@ -46,7 +46,7 @@ async def get_openai_stream_response(is_stream, key, base_url, model, messages, answer = "" num = 0 try: - if is_stream: + if not is_stream: await bmsg.edit_msg(f"{response.choices[0].message.content}\n\nPowered by: Gemini 1.5 Flash") answer += response.choices[0].message.content else: