Skip to content

Commit

Permalink
fix metadata username not null
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Nov 17, 2024
1 parent 7872630 commit 84ea7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/openAI.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async function askAssistant(message, username) {
role: "user",
content: "dime en 200 caracteres " + message,
metadata: {
nick: username,
nick: username || config.twitch.username,
}
}
);
Expand Down

0 comments on commit 84ea7d8

Please sign in to comment.