Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.
feature/Opus-55-sonnet-55 · L-261006-33bf70 (#1361)
Louis Choquelc52bc7868ae4
diff --git a/.pipelex-dev/test_profiles.toml b/.pipelex-dev/test_profiles.tomlindex c967f0b4d..7ee4d2c68 100644--- a/.pipelex-dev/test_profiles.toml+++ b/.pipelex-dev/test_profiles.toml@@ -74,6 +74,8 @@ anthropic = ["claude-5-opus","claude-5-fable","claude-5.1-fable",+ "claude-5.5-sonnet",+ "claude-5.5-opus",]# --- DeepSeek Models ---diff --git a/.pipelex/inference/backends/anthropic.toml b/.pipelex/inference/backends/anthropic.tomlindex 0e57a6feb..9933af93c 100644--- a/.pipelex/inference/backends/anthropic.toml+++ b/.pipelex/inference/backends/anthropic.toml@@ -185,3 +185,29 @@ thinking_mode = "adaptive"# instructor/anthropic_tools forces; the reasoning variant leaves tool_choice on auto.structure_method = "instructor/anthropic_reasoning_tools"listed_constraints = ["temperature_unsupported"]++# --- Claude 5.5 Series --------------------------------------------------------+["claude-5.5-sonnet"]+model_id = "claude-sonnet-5-5"+max_tokens = 128000+inputs = ["text", "images", "pdf"]+outputs = ["text", "structured"]+max_prompt_images = 100+costs = { input = 2.0, output = 10.0 }+thinking_mode = "adaptive"+# Sonnet 5.5 refuses tool_choice "tool" and "any", which is what the section default+# instructor/anthropic_tools forces; the reasoning variant leaves tool_choice on auto.+structure_method = "instructor/anthropic_reasoning_tools"+listed_constraints = ["temperature_unsupported"]++["claude-5.5-opus"]+model_id = "claude-opus-5-5"+max_tokens = 128000+inputs = ["text", "images", "pdf"]+outputs = ["text", "structured"]+max_prompt_images = 100+costs = { input = 4.0, output = 20.0 }+thinking_mode = "adaptive"+# Opus 5.5 refuses tool_choice "tool" and "any", like Sonnet 5.5 above.+structure_method = "instructor/anthropic_reasoning_tools"+listed_constraints = ["temperature_unsupported"]diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5b8507cd5..f1c84c1f4 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,6 +2,10 @@## [Unreleased]+### Added++- **Claude Opus 5.5 and Claude Sonnet 5.5 on the `anthropic` backend**: `claude-5.5-opus` (model id `claude-opus-5-5`, $4 / $20 per million tokens) and `claude-5.5-sonnet` (model id `claude-sonnet-5-5`, $2 / $10) take text, images and PDF, produce text and structured output, and reason with adaptive thinking, with up to 128K output tokens each. Both refuse `temperature` and a forced `tool_choice`, so structured output uses `instructor/anthropic_reasoning_tools`, as `claude-5.1-fable` does.+### Fixed- **A reasoning setting reaches a structured output**: a pipe whose model setting carries `reasoning_effort` or `reasoning_budget`, the deck's `$deep-analysis`, `$quick-reasoning` and `$retrieval-premium` presets included, now generates its structured output with that setting on every provider, where every language-model worker refused it with `LLMCapabilityError` "does not support reasoning parameters for structured generation". A model refuses a reasoning setting on a structured output only where it refuses it on text, or on Mistral where its structure method is not `instructor/mistral_tools`, whose JSON parsing cannot read a reasoning reply; a structured call on an Anthropic tool method with thinking on leaves the tool choice to the model, since a forced tool choice cannot carry thinking.diff --git a/api/.pipelex/inference/backends/anthropic.toml b/api/.pipelex/inference/backends/anthropic.tomlindex 0e57a6feb..9933af93c 100644--- a/api/.pipelex/inference/backends/anthropic.toml+++ b/api/.pipelex/inference/backends/anthropic.toml@@ -185,3 +185,29 @@ thinking_mode = "adaptive"# instructor/anthropic_tools forces; the reasoning variant leaves tool_choice on auto.structure_method = "instructor/anthropic_reasoning_tools"listed_constraints = ["temperature_unsupported"]++# --- Claude 5.5 Series --------------------------------------------------------+["claude-5.5-sonnet"]+model_id = "claude-sonnet-5-5"+max_tokens = 128000+inputs = ["text", "images", "pdf"]+outputs = ["text", "structured"]+max_prompt_images = 100+costs = { input = 2.0, output = 10.0 }+thinking_mode = "adaptive"+# Sonnet 5.5 refuses tool_choice "tool" and "any", which is what the section default+# instructor/anthropic_tools forces; the reasoning variant leaves tool_choice on auto.+structure_method = "instructor/anthropic_reasoning_tools"+listed_constraints = ["temperature_unsupported"]++["claude-5.5-opus"]+model_id = "claude-opus-5-5"+max_tokens = 128000+inputs = ["text", "images", "pdf"]+outputs = ["text", "structured"]+max_prompt_images = 100+costs = { input = 4.0, output = 20.0 }+thinking_mode = "adaptive"+# Opus 5.5 refuses tool_choice "tool" and "any", like Sonnet 5.5 above.+structure_method = "instructor/anthropic_reasoning_tools"+listed_constraints = ["temperature_unsupported"]diff --git a/pipelex/kit/configs/inference/backends/anthropic.toml b/pipelex/kit/configs/inference/backends/anthropic.tomlindex 0e57a6feb..9933af93c 100644--- a/pipelex/kit/configs/inference/backends/anthropic.toml+++ b/pipelex/kit/configs/inference/backends/anthropic.toml@@ -185,3 +185,29 @@ thinking_mode = "adaptive"# instructor/anthropic_tools forces; the reasoning variant leaves tool_choice on auto.structure_method = "instructor/anthropic_reasoning_tools"listed_constraints = ["temperature_unsupported"]++# --- Claude 5.5 Series --------------------------------------------------------+["claude-5.5-sonnet"]+model_id = "claude-sonnet-5-5"+max_tokens = 128000+inputs = ["text", "images", "pdf"]+outputs = ["text", "structured"]+max_prompt_images = 100+costs = { input = 2.0, output = 10.0 }+thinking_mode = "adaptive"+# Sonnet 5.5 refuses tool_choice "tool" and "any", which is what the section default+# instructor/anthropic_tools forces; the reasoning variant leaves tool_choice on auto.+structure_method = "instructor/anthropic_reasoning_tools"+listed_constraints = ["temperature_unsupported"]++["claude-5.5-opus"]+model_id = "claude-opus-5-5"+max_tokens = 128000+inputs = ["text", "images", "pdf"]+outputs = ["text", "structured"]+max_prompt_images = 100+costs = { input = 4.0, output = 20.0 }+thinking_mode = "adaptive"+# Opus 5.5 refuses tool_choice "tool" and "any", like Sonnet 5.5 above.+structure_method = "instructor/anthropic_reasoning_tools"+listed_constraints = ["temperature_unsupported"]