Use the same embed for response and edits

This commit is contained in:
Nexus 2024-04-14 18:52:02 +01:00
parent da96d818a3
commit b0f2f3f806
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -964,7 +964,7 @@ class Ollama(commands.Cog):
with client.new_chat("orca-mini:3b", messages) as handler:
async for ln in handler:
done = ln.get("done") is True
embed.description = ">>> " + handler.result
embed.description = handler.result
if len(embed.description) >= 4096:
break
if len(embed.description) >= 3250: