content-moderation changedabout-claude/use-case-guides/content-moderation
Nearest release: v2.1.307, published an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+4added
Lines−4removed
From line
836
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits10to this page, all time
The whole hunk
from line 836, old and new numbered
/
from line 836
836836
837837 # Send the request to Claude for content moderation
838838 response = CLIENT.messages.create(
839 model: "claude-haiku-4-5-20251001", # Using the Haiku model for lower costs
839 model: Anthropic::Model::CLAUDE_HAIKU_4_5_20251001, # Using the Haiku model for lower costs
840840 max_tokens: 200,
841841 messages: [{role: :user, content: assessment_prompt}]
842842 )
from line 1395
13951395
13961396 # Send the request to Claude for risk assessment
13971397 response = CLIENT.messages.create(
1398 model: "claude-haiku-4-5-20251001", # Using the Haiku model for lower costs
1398 model: Anthropic::Model::CLAUDE_HAIKU_4_5_20251001, # Using the Haiku model for lower costs
13991399 max_tokens: 200,
14001400 messages: [{role: :user, content: assessment_prompt}]
14011401 )
from line 2149
21492149
21502150 # Send the request to Claude for content moderation
21512151 response = CLIENT.messages.create(
2152 model: "claude-haiku-4-5-20251001", # Using the Haiku model for lower costs
2152 model: Anthropic::Model::CLAUDE_HAIKU_4_5_20251001, # Using the Haiku model for lower costs
21532153 max_tokens: 200,
21542154 messages: [{role: :user, content: assessment_prompt}]
21552155 )
from line 2702
27022702
27032703 # Send the request to Claude for content moderation
27042704 response = CLIENT.messages.create(
2705 model: "claude-haiku-4-5-20251001", # Using the Haiku model for lower costs
2705 model: Anthropic::Model::CLAUDE_HAIKU_4_5_20251001, # Using the Haiku model for lower costs
27062706 max_tokens: 2048, # Increased max token count to handle batches
27072707 messages: [{role: :user, content: assessment_prompt}]
27082708 )
No line in this hunk matches that.