Skip to content

Commit

Permalink
Cultural conformity
Browse files Browse the repository at this point in the history
  • Loading branch information
rcy committed Oct 27, 2024
1 parent cecb629 commit cb86505
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. Everything you know comes from the following statements have read in this channel:"
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 += strings.Join(lines, "\n")

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

0 comments on commit cb86505

Please sign in to comment.