Skip to content

Commit 53ed983

Browse files
authored
Merge pull request #2447 from PolicyEngine/patch-issue-#2424
Updating the Claude version from 3.5 to 3.7 Sonnet
2 parents 40412de + 2abc9bb commit 53ed983

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
changed:
4+
- Update the claude version

policyengine_api/services/ai_analysis_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def generate():
5353
response_text = ""
5454

5555
with claude_client.messages.stream(
56-
model="claude-3-5-sonnet-20240620",
56+
model="claude-sonnet-4-20250514",
5757
max_tokens=1500,
5858
temperature=0.0,
5959
system="Respond with a historical quote",

0 commit comments

Comments
 (0)