ollama local chat completion

This commit is contained in:
2026-06-05 13:46:30 -05:00
parent 8212edc406
commit f81a76e505
3 changed files with 17 additions and 12 deletions

View File

@@ -160,13 +160,13 @@ async def garfchat(ctx, *, prompt):
await ctx.send(answer)
@garfbot.command(name="pic")
async def garfpic(ctx, *, prompt):
logger.info(
f"Image Request - User: {ctx.author.name}, Server: {ctx.guild.name}, Prompt: {prompt}"
)
await ctx.send(f"`Please wait... image generation queued: {prompt}`")
await garfield.garfpic(ctx, prompt)
# @garfbot.command(name="pic")
# async def garfpic(ctx, *, prompt):
# logger.info(
# f"Image Request - User: {ctx.author.name}, Server: {ctx.guild.name}, Prompt: {prompt}"
# )
# await ctx.send(f"`Please wait... image generation queued: {prompt}`")
# await garfield.garfpic(ctx, prompt)
@garfbot.command(name="help")