Skip to content

Commit

Permalink
Update HarmCategory
Browse files Browse the repository at this point in the history
  • Loading branch information
johnd0e committed Sep 25, 2024
1 parent c11d54b commit a1498c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/worker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ const harmCategory = [
"HARM_CATEGORY_HATE_SPEECH",
"HARM_CATEGORY_SEXUALLY_EXPLICIT",
"HARM_CATEGORY_DANGEROUS_CONTENT",
"HARM_CATEGORY_HARASSMENT"
"HARM_CATEGORY_HARASSMENT",
"HARM_CATEGORY_CIVIC_INTEGRITY",
];
const safetySettings = harmCategory.map((category) => ({
category,
Expand Down

0 comments on commit a1498c4

Please sign in to comment.