This commit is contained in:
@@ -138,7 +138,7 @@ def cooklang_from_anthropic(
|
|||||||
) -> str:
|
) -> str:
|
||||||
"""Send the recipe content to the Anthropic API and return Cooklang text."""
|
"""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)
|
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(
|
response = client.messages.create(
|
||||||
model=resolved_model,
|
model=resolved_model,
|
||||||
|
|||||||
Reference in New Issue
Block a user