diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-12-22 11:17:39 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-12-22 11:17:56 -0500 |
| commit | dfee339ab05c7d219b31ee028b4ca653732e04da (patch) | |
| tree | eafe43eb9780fd3318ea8440bb60dbce48b92437 /cmd/mimi/modules | |
| parent | 60ebb269c39f1a88c986e83eadcc8fa5d392b7d2 (diff) | |
| download | x-dfee339ab05c7d219b31ee028b4ca653732e04da.tar.xz x-dfee339ab05c7d219b31ee028b4ca653732e04da.zip | |
cmd/mimi: fix
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/mimi/modules')
| -rw-r--r-- | cmd/mimi/modules/discord/heic2jpeg/heic2jpeg.go | 2 | ||||
| -rw-r--r-- | cmd/mimi/modules/discord/jufra/jufra.go | 2 | ||||
| -rw-r--r-- | cmd/mimi/modules/discord/jufra/system-prompt.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cmd/mimi/modules/discord/heic2jpeg/heic2jpeg.go b/cmd/mimi/modules/discord/heic2jpeg/heic2jpeg.go index 09701a1..7ae6011 100644 --- a/cmd/mimi/modules/discord/heic2jpeg/heic2jpeg.go +++ b/cmd/mimi/modules/discord/heic2jpeg/heic2jpeg.go @@ -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) diff --git a/cmd/mimi/modules/discord/jufra/jufra.go b/cmd/mimi/modules/discord/jufra/jufra.go index 6349207..3f2fd85 100644 --- a/cmd/mimi/modules/discord/jufra/jufra.go +++ b/cmd/mimi/modules/discord/jufra/jufra.go @@ -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") diff --git a/cmd/mimi/modules/discord/jufra/system-prompt.txt b/cmd/mimi/modules/discord/jufra/system-prompt.txt index a60d041..cdf51b9 100644 --- a/cmd/mimi/modules/discord/jufra/system-prompt.txt +++ b/cmd/mimi/modules/discord/jufra/system-prompt.txt @@ -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. |
