From a487972d4554d592dd4c3bf6bf30a1e69727664a Mon Sep 17 00:00:00 2001 From: rinor Date: Fri, 26 Apr 2024 10:29:44 +0000 Subject: [PATCH] bug: fix chat prompter missing format --- pkg/chat/chat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chat/chat.go b/pkg/chat/chat.go index 23c9d132..27436f1e 100644 --- a/pkg/chat/chat.go +++ b/pkg/chat/chat.go @@ -72,7 +72,7 @@ func Start(ctx context.Context, prevState runner.ChatState, chatter Chatter, prg } if resp.Content != "" { - _, err := prompter.Printf(color.RedString("< %s\n", resp.Content)) + _, err := prompter.Printf("%s", color.RedString("< %s\n", resp.Content)) if err != nil { return err }