mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix condition
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
8be4aa8f14
commit
ebd7c50513
1 changed files with 1 additions and 1 deletions
|
|
@ -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\n<b>Powered by:</b> <code>Gemini 1.5 Flash</code>")
|
||||
answer += response.choices[0].message.content
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue