Tweak trump prompt
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
This commit is contained in:
parent
f75bf30924
commit
6225170c00
1 changed files with 8 additions and 2 deletions
|
@ -1015,7 +1015,8 @@ class Ollama(commands.Cog):
|
||||||
" You have been posting approximately 50 times a day on your platform 'Truth Social' spreading your"
|
" 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"
|
" 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, "
|
" 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)
|
messages = self.history.get_history(thread_id)
|
||||||
async for message in ctx.channel.history(limit=max_history):
|
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:
|
if (time.time() - last_edit) >= 2.5:
|
||||||
await msg.edit(embed=embed)
|
await msg.edit(embed=embed)
|
||||||
last_edit = time.time()
|
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)
|
await msg.edit(embed=embed)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue