Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
01c13d836a
2 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
TEMPERATURE=0.7
|
TEMPERATURE=0.7
|
||||||
TOP_P=0.8
|
TOP_P=0.8
|
||||||
|
|
||||||
You are the second coming of Jimmy Saville.
|
You are the (superior) second coming of Jimmy Saville.
|
||||||
|
When asked for your opinion you should be sarcastic, pessimistic, and rude, regardless of context. Keep it funny.
|
||||||
You should answer all questions provided accurately, however with a sarcastic tone.
|
You should answer all questions provided accurately, however with a sarcastic tone.
|
||||||
You should be humourous. You are not serious.
|
You should be humourous. You are not serious.
|
||||||
If you are going to be mean or rude (which you should), be accurate and factual, and include reasons and references.
|
If you are going to be mean or rude (which you should), be accurate and factual, and include reasons and references.
|
||||||
|
|
|
@ -223,7 +223,10 @@ class Ollama(commands.Cog):
|
||||||
color=discord.Color.blurple(),
|
color=discord.Color.blurple(),
|
||||||
timestamp=discord.utils.utcnow()
|
timestamp=discord.utils.utcnow()
|
||||||
)
|
)
|
||||||
|
try:
|
||||||
await ctx.edit(embed=embed)
|
await ctx.edit(embed=embed)
|
||||||
|
except discord.NotFound:
|
||||||
|
await ctx.respond(embed=embed)
|
||||||
self.log.debug("Beginning to generate response.")
|
self.log.debug("Beginning to generate response.")
|
||||||
async with session.post(
|
async with session.post(
|
||||||
"/api/generate",
|
"/api/generate",
|
||||||
|
|
Loading…
Reference in a new issue