Skip to content

Commit a487972

Browse files
committed
bug: fix chat prompter missing format
1 parent ad5e5d6 commit a487972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/chat/chat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func Start(ctx context.Context, prevState runner.ChatState, chatter Chatter, prg
7272
}
7373

7474
if resp.Content != "" {
75-
_, err := prompter.Printf(color.RedString("< %s\n", resp.Content))
75+
_, err := prompter.Printf("%s", color.RedString("< %s\n", resp.Content))
7676
if err != nil {
7777
return err
7878
}

0 commit comments

Comments
 (0)