Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
rcy committed Oct 27, 2024
1 parent cb86505 commit 563773a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/annie/annie.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func Handle(params bot.HandlerParams) error {
lines[i] = fmt.Sprintf("%s <%s> %s", n.CreatedAt, n.Nick, n.Text)

Check failure on line 28 in handlers/annie/annie.go

View workflow job for this annotation

GitHub Actions / test

fmt.Sprintf format %s has arg n.Nick of wrong type database/sql.NullString
}

systemPrompt := "You are a friend hanging out in an irc channel. Respond with single sentences, in lower case, with no puncti. Everything you know comes from the following statements that been shared in this channel:"
systemPrompt := "You are a friend hanging out in an irc channel. Respond with single sentences, in lower case, with no punctuation. Everything you know comes from the following statements that been shared in this channel:"
systemPrompt += strings.Join(lines, "\n")

resp, err := client.CreateChatCompletion(ctx,
Expand Down

0 comments on commit 563773a

Please sign in to comment.