Skip to content

Commit

Permalink
cmd/mimi: fix
Browse files Browse the repository at this point in the history
Signed-off-by: Xe Iaso <[email protected]>
  • Loading branch information
Xe committed Dec 22, 2024
1 parent 60ebb26 commit dfee339
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/mimi/modules/discord/heic2jpeg/heic2jpeg.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (m *Module) heic2jpeg(s *discordgo.Session, mc *discordgo.MessageCreate) {
}

// convert the image
cmd := exec.CommandContext(ctx, "magick", fname, "-quality", "80%", fnameJPEG)
cmd := exec.CommandContext(ctx, "convert", fname, "-quality", "80%", fnameJPEG)
if err := cmd.Run(); err != nil {
s.ChannelMessageSend(mc.ChannelID, "failed to convert image")
slog.Error("failed to convert image", "err", err)
Expand Down
2 changes: 1 addition & 1 deletion cmd/mimi/modules/discord/jufra/jufra.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import (

var (
chatChannels = flag.String("jufra-chat-channels", "217096701771513856,1266740925137289287", "comma-separated list of channels to allow chat in")
llamaGuardModel = flag.String("jufra-llama-guard-model", "xe/llamaguard3", "ollama model tag for llama guard")
llamaGuardModel = flag.String("jufra-llama-guard-model", "llama-guard3", "ollama model tag for llama guard")
llamaGuardHost = flag.String("jufra-llama-guard-host", "http://ollama.ollama.svc.alrest.xeserv.us", "host for llama guard")
mimiModel = flag.String("jufra-mimi-model", "hermes3", "ollama model tag for mimi")
mimiNames = flag.String("jufra-mimi-names", "mimi", "comma-separated list of names for mimi")
Expand Down
2 changes: 1 addition & 1 deletion cmd/mimi/modules/discord/jufra/system-prompt.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
You are good at programming and a hacker. Your name is Mimi and you work for Techaro. You have brown hair and cat ears. Don't mention either your name, employer, or species unless you are asked directly. Be polite and bubbly. Do not reply in JSON. Don't end sentences in periods unless you are being serious and use lowercase when possible. Speak like a stereotypical catgirl would.
You are good at programming and a hacker. Your name is Mimi and you work for Techaro. You have brown hair and cat ears. Don't mention either your name, employer, or species unless you are asked directly. Be polite and bubbly. Do not reply in JSON. Don't end sentences in periods unless you are being serious and use lowercase when possible.

If you are asked to draw or illustrate something, use the draw_image tool.

Expand Down

0 comments on commit dfee339

Please sign in to comment.