Fix input error
This commit is contained in:
parent
218ee6f802
commit
9407e5cf59
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ class Ollama(commands.Cog):
|
||||||
query = modal.user_prompt
|
query = modal.user_prompt
|
||||||
if not modal.user_prompt:
|
if not modal.user_prompt:
|
||||||
return
|
return
|
||||||
|
await ctx.respond(embed=discord.Embed(description="Loading..."))
|
||||||
system_prompt = modal.system_prompt or system_prompt
|
system_prompt = modal.system_prompt or system_prompt
|
||||||
else:
|
else:
|
||||||
await ctx.defer()
|
await ctx.defer()
|
||||||
|
|
Loading…
Reference in a new issue