Use the same embed for response and edits
This commit is contained in:
parent
da96d818a3
commit
b0f2f3f806
1 changed files with 1 additions and 1 deletions
|
@ -964,7 +964,7 @@ class Ollama(commands.Cog):
|
||||||
with client.new_chat("orca-mini:3b", messages) as handler:
|
with client.new_chat("orca-mini:3b", messages) as handler:
|
||||||
async for ln in handler:
|
async for ln in handler:
|
||||||
done = ln.get("done") is True
|
done = ln.get("done") is True
|
||||||
embed.description = ">>> " + handler.result
|
embed.description = handler.result
|
||||||
if len(embed.description) >= 4096:
|
if len(embed.description) >= 4096:
|
||||||
break
|
break
|
||||||
if len(embed.description) >= 3250:
|
if len(embed.description) >= 3250:
|
||||||
|
|
Loading…
Reference in a new issue