Fix janky llava switch
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
b40ee8cce8
commit
22789057f8
1 changed files with 3 additions and 2 deletions
|
@ -534,8 +534,9 @@ class Ollama(commands.Cog):
|
|||
|
||||
if image:
|
||||
if fnmatch(model, "llava:*") is False:
|
||||
await ctx.respond(
|
||||
"You can only use images with llava. Switching model to `llava:latest`.", delete_after=5
|
||||
await ctx.send(
|
||||
f"{ctx.user.mention}: You can only use images with llava. Switching model to `llava:latest`.",
|
||||
delete_after=5
|
||||
)
|
||||
model = "llava:latest"
|
||||
|
||||
|
|
Loading…
Reference in a new issue