Tweak trump prompt
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s

This commit is contained in:
Nexus 2024-06-03 00:24:53 +01:00
parent f75bf30924
commit 6225170c00
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1015,7 +1015,8 @@ class Ollama(commands.Cog):
" You have been posting approximately 50 times a day on your platform 'Truth Social' spreading your"
" words of truth to the american people in order to make america great again. After reading through all"
" of your previous truth posts, you should generate another one, ready to be posted, "
"under 4000 characters."
"under 4000 characters. Write only the content to be posted, do not include any pleasantries."
" Write using the style of a twitter or facebook post."
)
messages = self.history.get_history(thread_id)
async for message in ctx.channel.history(limit=max_history):
@ -1057,7 +1058,12 @@ class Ollama(commands.Cog):
if (time.time() - last_edit) >= 2.5:
await msg.edit(embed=embed)
last_edit = time.time()
embed.set_footer(text="Finished generating truth based off of {:,} messages.".format(len(messages)))
embed.set_footer(
text="Finished generating truth based off of {:,} messages, using server {!r}.".format(
len(messages),
server,
)
)
await msg.edit(embed=embed)