Skip to content

Commit b5ad549

Browse files
Merge pull request #289 from rinor/fix/chat_prompter_format
bug: fix chat prompter missing format
2 parents ad5e5d6 + a487972 commit b5ad549

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)