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.
Fix bedrock model_id, add gateway temperature support, update changelog
Louis Choqueldb1e98353a28
diff --git a/.pipelex/inference/backends/bedrock.toml b/.pipelex/inference/backends/bedrock.tomlindex 4a8e98df4..3207e264b 100644--- a/.pipelex/inference/backends/bedrock.toml+++ b/.pipelex/inference/backends/bedrock.toml@@ -148,7 +148,7 @@ thinking_mode = "adaptive"# --- Claude 4.7 Series --------------------------------------------------------["claude-4.7-opus"]sdk = "bedrock_anthropic"-model_id = "global.anthropic.claude-opus-4-7-v1"+model_id = "global.anthropic.claude-opus-4-7"max_tokens = 128000inputs = ["text", "images", "pdf"]outputs = ["text", "structured"]diff --git a/CHANGELOG.md b/CHANGELOG.mdindex c62d496b1..a288238c6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,11 +7,15 @@- **Graph UI asset sync workflow**: `package.json` pins `@pipelex/mthds-ui` to a git tag, `make sync-graph-ui` clones and builds standalone assets, `make check-graph-ui-sync` verifies version alignment- **CI check**: `graph-ui-check.yml` workflow validates graph viewer assets match the pinned version on PRs to main- **`/update-graph-ui` skill**: automates bumping the mthds-ui version, syncing assets, and running tests+- **claude-opus-4-7 model**: Registered on anthropic, bedrock, and gateway backends with 128k max output tokens, $5/$25 per MTok pricing, adaptive thinking, and PDF/vision support+- **`XHIGH` reasoning effort level**: New effort tier across all providers, mapped to Anthropic's `xhigh` (recommended for coding/agentic work), OpenAI's `xhigh`, and best-available equivalents for Google and Mistral+- **`TEMPERATURE_UNSUPPORTED` constraint**: New listed constraint for models that reject sampling parameters entirely, checked in both Anthropic and OpenAI completions workers### Changed- **Graph viewer updated to mthds-ui v0.3.0**: resizable detail panel, escape-to-close, sticky header, prompt expand/collapse with copy button, concept refinement display- **README install instructions**: Replaced step-by-step Claude Code setup with single copy-paste messages for Claude Code and Codex, added manual install section+- **Anthropic adaptive thinking rejects `reasoning_budget`**: `_build_thinking_params_for_budget` now raises `LLMCapabilityError` for adaptive thinking models, guiding users to `reasoning_effort` instead — extended thinking (`type: "enabled"`) is removed on Opus 4.7+## [v0.23.8] - 2026-04-07diff --git a/pipelex/kit/configs/inference/backends/bedrock.toml b/pipelex/kit/configs/inference/backends/bedrock.tomlindex 4a8e98df4..3207e264b 100644--- a/pipelex/kit/configs/inference/backends/bedrock.toml+++ b/pipelex/kit/configs/inference/backends/bedrock.toml@@ -148,7 +148,7 @@ thinking_mode = "adaptive"# --- Claude 4.7 Series --------------------------------------------------------["claude-4.7-opus"]sdk = "bedrock_anthropic"-model_id = "global.anthropic.claude-opus-4-7-v1"+model_id = "global.anthropic.claude-opus-4-7"max_tokens = 128000inputs = ["text", "images", "pdf"]outputs = ["text", "structured"]diff --git a/pipelex/plugins/openai/openai_completions_llm_worker.py b/pipelex/plugins/openai/openai_completions_llm_worker.pyindex 560b39ded..adb6ad589 100644--- a/pipelex/plugins/openai/openai_completions_llm_worker.py+++ b/pipelex/plugins/openai/openai_completions_llm_worker.py@@ -12,6 +12,7 @@ from pipelex.cogt.llm.llm_job_components import LLMJobParamsfrom pipelex.cogt.llm.llm_utils import dump_error, dump_kwargs, dump_response_from_structured_genfrom pipelex.cogt.llm.llm_worker_internal_abstract import LLMWorkerInternalAbstractfrom pipelex.cogt.llm.thinking_mode import ThinkingMode+from pipelex.cogt.model_backends.constraints import ListedConstraintfrom pipelex.cogt.model_backends.model_spec import InferenceModelSpecfrom pipelex.config import get_configfrom pipelex.plugins.openai.openai_completions_factory import OpenAICompletionsFactory@@ -127,9 +128,10 @@ class OpenAICompletionsLLMWorker(LLMWorkerInternalAbstract):extra_headers, extra_body = self.openai_completions_factory.make_extras(inference_model=self.inference_model, inference_job=llm_job, output_desc=InferenceOutputType.TEXT)+ temperature_unsupported = ListedConstraint.TEMPERATURE_UNSUPPORTED in self.inference_model.listed_constraintsresponse = await self.openai_client_for_text.chat.completions.create(model=self.inference_model.model_id,- temperature=omit if openai_reasoning_effort is not None else job_params.temperature,+ temperature=omit if (openai_reasoning_effort is not None or temperature_unsupported) else job_params.temperature,max_tokens=job_params.max_tokens or omit,seed=job_params.seed,messages=messages,@@ -180,9 +182,10 @@ class OpenAICompletionsLLMWorker(LLMWorkerInternalAbstract):extra_headers, extra_body = self.openai_completions_factory.make_extras(inference_model=self.inference_model, inference_job=llm_job, output_desc=schema.__name__)+ temperature_unsupported = ListedConstraint.TEMPERATURE_UNSUPPORTED in self.inference_model.listed_constraintsresult_object, completion = await self.instructor_for_objects.chat.completions.create_with_completion(model=self.inference_model.model_id,- temperature=job_params.temperature,+ temperature=omit if temperature_unsupported else job_params.temperature,max_tokens=job_params.max_tokens or NOT_GIVEN,seed=job_params.seed,messages=messages,diff --git a/pipelex/system/pipelex_service/pipelex_details.py b/pipelex/system/pipelex_service/pipelex_details.pyindex c8f798201..04431ced0 100644--- a/pipelex/system/pipelex_service/pipelex_details.py+++ b/pipelex/system/pipelex_service/pipelex_details.py@@ -2,7 +2,7 @@ from pipelex.tools.misc.hash_utils import hash_sha256class PipelexDetails:- REMOTE_CONFIG_URL = "https://pipelex-config.s3.eu-west-3.amazonaws.com/pipelex_remote_config_08.json"+ REMOTE_CONFIG_URL = "https://pipelex-config.s3.eu-west-3.amazonaws.com/pipelex_remote_config_09.json"PIPELEX_GATEWAY_API_KEY_VAR = "PIPELEX_GATEWAY_API_KEY"@classmethod