Uses latest sonnet model
Build and Deploy / build-and-deploy (push) Successful in 1m46s

This commit is contained in:
2026-05-31 14:48:32 -04:00
parent 518d62fcb6
commit 506de6c4d8
+1 -1
View File
@@ -138,7 +138,7 @@ def cooklang_from_anthropic(
) -> str:
"""Send the recipe content to the Anthropic API and return Cooklang text."""
client = Anthropic(api_key=api_key, base_url=base_url) if base_url else Anthropic(api_key=api_key)
resolved_model = model or "claude-sonnet-4-20250514"
resolved_model = model or "claude-sonnet-4-6"
response = client.messages.create(
model=resolved_model,