[O] Dockerize AI github moderator

This commit is contained in:
2026-04-20 01:32:54 -04:00
parent 2361be73ba
commit 7433df5d74
3 changed files with 25 additions and 5 deletions
+7 -3
View File
@@ -5,6 +5,10 @@ webhook_secret = "secret"
gh_token = "token"
gh_repo = "owner/repo"
# AI harm classifier token
harm_classifier_url = "https://example.com/classify"
harm_classifier_token = "token"
[OpenAI]
org = "your-org-id"
key = "your-api-key"
model = "omni-moderation-latest"
threshold = 0.7