Allow non-me to use the command and default to orca-mini

This commit is contained in:
Nexus 2023-11-11 19:31:25 +00:00
parent 97f47d8e05
commit 269ddb9218
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1849,7 +1849,8 @@ class OtherCog(commands.Cog):
if not await self.bot.is_owner(ctx.author): if not await self.bot.is_owner(ctx.author):
if not model.startswith("orca-mini"): if not model.startswith("orca-mini"):
return await ctx.reply(":x: You can only use `orca-mini` models.") await ctx.reply(":warning: You can only use `orca-mini` models.", delete_after=30)
model = "orca-mini:latest"
if query.startswith("server:"): if query.startswith("server:"):
host, query = query.split(" ", 1) host, query = query.split(" ", 1)