Bedrock Invoke class for invoking models without Converse API (e.g. Bedrock Custom Model Import)
Description
This PR adds a new BedrockModelInvoke class that uses AWS Bedrock's native InvokeModel and InvokeModelWithResponseStream APIs instead of the Converse/ConverseStream APIs used by the existing BedrockModel class. This is particularly ideal to introduce support for Bedrock Custom Model Import.
Key Features:
- Broader Model Support: Works with Bedrock models that don't support Converse APIs, including imported models
- Multiple Format Support: Handles both Anthropic Messages API format and OpenAI ChatCompletion format
- Streaming Support: Processes streaming responses from
InvokeModelWithResponseStream - Tool Integration: Converts Strands tool specs to model-specific formats (OpenAI functions, Anthropic tools)
- Error Handling: Maps Bedrock-specific errors to appropriate Strands exceptions
Use Case: This implementation is particularly useful for imported models (via Bedrock's Custom Model Import feature) that may only support native InvokeModel APIs and expect specific request formats like OpenAI ChatCompletion.
Related Issues
N/A
Documentation PR
N/A
Type of Change
New feature
Testing
How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli
- [x] I ran
hatch run prepare
Checklist
- [x] I have read the CONTRIBUTING document
- [x] I have added any necessary tests that prove my fix is effective or my feature works
- [ ] I have updated the documentation accordingly
- [ ] I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
- [x] My changes generate no new warnings
- [x] Any dependent changes have been merged and published
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Note: hatch run prepare gives error: T-strings are only supported in Python 3.14 and greater [syntax]. However in my code I don't use T-strings. Please verify if someone else introduced this dependency.
Do we have any update on when this PR will be merged?
This will unlock the ability to leverage the new opus 4.5 features like tool search, lazy loading of tools, etc. in Bedrock.
Currently it's not possible since only supported via invoke api.
+1 any update from the Strands team on this?
Updates since original submission
Rebased onto current main and fixed several issues found during review. Here's a summary:
Rebase / merge conflict (src/strands/models/__init__.py)
main refactored the models package to use lazy loading via __getattr__ and added CacheConfig. The conflict was resolved by keeping BedrockModelInvoke as an eager import alongside BedrockModel (both depend only on boto3, which is already a required dependency), while preserving all lazy-loaded providers and CacheConfig from main.
Bug fixes (src/strands/models/bedrock_invoke.py)
1. _format_request always used OpenAI format (functional bug)
The method called _format_openai_request unconditionally despite _get_model_family() existing. Native Anthropic model IDs (e.g. anthropic.claude-*) would have received an OpenAI-formatted request body, causing API errors. Fixed to route to _format_anthropic_request when the model family is "anthropic".
2. _extract_usage_from_response had an unreachable branch (functional bug)
The OpenAI-format usage block (prompt_tokens / completion_tokens) was under elif "usage" in response_body — the same key as the if above it, so it was never reachable. OpenAI-format token counts were silently dropped. Fixed by branching on the field names inside usage instead (input_tokens vs prompt_tokens).
3. _stream variable shadowed the streaming module import
streaming = self.config.get("streaming", True) shadowed the from ..event_loop import streaming used later in structured_output. Renamed to use_streaming.
4. Image bytes not base64-encoded (functional bug)
_format_anthropic_request was passing raw bytes from image_data["source"]["bytes"] directly as the data field. The Anthropic InvokeModel API requires a base64-encoded string. Fixed to base64.b64encode(...).decode("utf-8").
mypy fixes
hatch run prepare (format + lint + mypy + pytest) now passes cleanly across Python 3.10–3.14 with 2386 tests passing.
- Added
# type: ignore[override]onupdate_config(same pattern asBedrockModel) - Annotated
request: dict[str, Any]andcontent: list[dict[str, Any]]to allow mixed-value nested structures - Annotated
events: list[StreamEvent]in_parse_anthropic_response - Fixed implicit
Optionalonresponse_bodyparameter - Added explicit
str()cast in_extract_text_from_response
Pushed a major rework of this PR (force-push, since the head ref is main on the fork). Single squashed commit: feat(bedrock): add BedrockModelInvoke for InvokeModel-only models.
What changed since the last review state
Rebased onto current main (the previous head was 91 commits behind / 4 ahead of merge-base; merge state was DIRTY).
Aligned with current SDK contracts:
BedrockInvokeConfignow subclassesBaseModelConfigsocontext_window_limitflows through (#2176).- Default
model_idbumped toglobal.anthropic.claude-sonnet-4-6(imported frombedrock.py) instead of the dated 3.5-sonnet-20241022 id (#2193). __init__.pyswitched from eager to lazy__getattr__import to match the lazy-load pattern used by every other provider.- Reuses
BEDROCK_CONTEXT_WINDOW_OVERFLOW_MESSAGES,DEFAULT_BEDROCK_MODEL_ID,DEFAULT_BEDROCK_REGION,DEFAULT_READ_TIMEOUTfrombedrock.pyinstead of redefining.
Streaming protocol (this is the bulk of the diff):
- Anthropic Messages stream is fully translated:
message_start→messageStart,content_block_start(text +tool_use) →contentBlockStart,content_block_delta(textandinput_json_delta.partial_json) →contentBlockDelta,content_block_stop→contentBlockStop,message_delta.stop_reason/usage→messageStop+metadata. - OpenAI Chat Completions stream is translated symmetrically, including
delta.tool_calls[]keyed byindex(lazy-emitcontentBlockStartonceid/nameis observed; concatenateargumentsdeltas astoolUse.input). - Stop reasons are mapped from each backend's vocabulary to the Strands set (
tool_use,max_tokens,stop_sequence,end_turn) instead of being hard-coded toend_turn. This mirrors the fix from #1827 — without it,structured_output()and tool execution were unreachable on the streaming path. - Non-streaming responses go through the same translation, so tool use works in both modes.
Tool use & ToolChoice:
ToolChoiceis now translated and forwarded to both backends ({"type": "auto"|"any"|"tool"}for Anthropic,"auto"/"required"/{"type": "function", ...}for OpenAI). Previously the parameter was accepted and silently dropped, which madestructured_outputnon-functional.- OpenAI request formatter now passes
toolUseandtoolResultblocks through (tool_callson assistant turns, separaterole: "tool"messages for results) instead of flattening multi-block messages to a single string.
Other correctness fixes:
- Image media type now produced as
image/<format>(Anthropic API requires the prefixed form). - Unknown model ids default to the OpenAI/imported-model format rather than Anthropic — the headline use case for this provider per the description. The behavior can be overridden with the new
model_familyconfig key. _extract_text_from_responseno longer falls back tojson.dumps(response)(could leak full response bodies into assistant text).tool_result.is_errorset whenstatus == "error"so error semantics survive the round trip.- Dropped the unused
guardrail_id/guardrail_versionconfig keys; they were declared but never wired into the Bedrock call.
Tests:
- 24 unit tests (up from 8), now covering: init/default model id, family detection (parametrised) and override, request formatting for both families with image/tool_use/toolResult/tool_choice, full streaming traces for Anthropic text, Anthropic tool use, OpenAI text + tool use (with usage), non-streaming Anthropic, throttling and context-window-overflow error mapping, and end-to-end
structured_outputreturning a Pydantic model. - Integration tests converted from
@pytest.mark.skipto runnable. The imported-model test is now gated onSTRANDS_BEDROCK_INVOKE_IMPORTED_MODEL_ARNsince ARNs are account-specific.
Local verification
hatch run test-lint → ruff check ✓ / mypy ✓
hatch test tests/strands → 2974 passed
hatch test tests/strands/models/test_bedrock_invoke.py → 24 passed
About the still-failing checks
The three failing checks (Auto Strands Review / Trigger Strands Review, Secure Integration test / check-access-and-checkout, Secure Integration test / upload-metrics) are all gated on the pull_request_target protected-environment approval flow — they hit GitHub's 30-day waiting-job timeout (720h0m0s) without a maintainer clicking Approve, and the upload-metrics job then fails because the artifact from the unrun integ-tests step doesn't exist (if: always()). Could one of you kick those off?
cc @pgrayy @Unshure @zastrowm — would appreciate another look. Happy to split this into smaller commits if that's easier to review.
Trimmed and force-pushed (commit ac804f9) to pass the PR Size Labeler size/xl gate. Diff is now 989 lines (was 1466), all under the 1000-line threshold; size label is back on size/m.
What I cut to get there (no behavior or test-coverage loss):
- Squashed the per-callback inline event dicts in the streaming/non-streaming emitters behind small
_text_start/_tool_use_start/_tool_use_delta/_metadata/_BLOCK_STOP/_TEXT_STARThelpers, so the wire shape lives in one place. - Merged the two tool-choice translators into a single
_to_tool_choice(tool_choice, family)(was_to_anthropic_tool_choice+_to_openai_tool_choice). - Tightened the
BedrockInvokeConfigand class-level docstrings (kept the Attributes elsewhere; the field names + types speak for themselves). - Module-scoped
pytestmark = pytest.mark.usefixtures("bedrock_client")removed the boilerplate_ = bedrock_clientlines from format-only tests. - Inlined a few obvious local helpers, collapsed multi-line dict literals where they fit at 120 chars.
- Dropped the
test_bedrock_invoke_configurationinteg test — it was a duplicate of unit coverage.
Verification: hatch run test-lint ✓ (ruff + mypy), hatch test tests/strands ✓ (2974 passed), and the same 24-test bedrock_invoke suite still passes (streaming text + tool use for both families, non-streaming, structured output, error mapping).
The three remaining red checks are still the protected-environment ones — same situation as before, only a maintainer can release them. cc @pgrayy @Unshure @zastrowm.
+1 — and a note on why this PR matters beyond Custom Model Import
We built essentially this same transport independently — a BedrockModel subclass that swaps ConverseStream for InvokeModelWithResponseStream (Anthropic Messages format) — after hitting a problem that is structurally unfixable on the Converse path:
Dynamic tool registration invalidates the entire prompt cache. On Bedrock, tools are the first section of the cache prefix (tools → system → messages), so any mid-session change to the tool list re-bills the full context at input price plus a cache re-write. Converse's toolSpec ({name, description, inputSchema, strict}) has no way to declare a tool without placing its schema in the cached prefix. Anthropic's Messages API solves this with defer_loading: true and the server-side tool_search tool — both available on Bedrock only through InvokeModel, not Converse. For cache-sensitive, tool-heavy agents, InvokeModel is the only correct transport — this PR is the prerequisite for #1349 and #2700.
After switching transports we saw cache hit rates go from poor to consistently high on identical multi-turn sessions, with tool loads no longer busting the cache. LiteLLM reached the same conclusion after a cache-regression incident — their remediation guidance is to route Claude through bedrock/invoke rather than Converse: incident report.
A few things worth checking in review, from having built the same thing:
- Stream-event translation — the Anthropic event stream (
message_start,content_block_delta, …) needs to map back to the exact event shapes the Strands event loop consumes, including thinking blocks and tool-use deltas, or downstream hooks and telemetry silently break. - Exception mapping — throttles and context-overflow from InvokeModel should translate to
ModelThrottledException/ContextWindowOverflowExceptionso SDK retry and application-level failover behave identically to the Converse path. Mid-stream errors need the same mapping, not just call-time errors. - Cache breakpoint parity — the transport should reproduce the same breakpoint layout that
cache_prompt/cache_tools/cache_configproduce on Converse (system / tools / rolling last-user-message), so switching transports doesn't change cache behavior in ways users won't expect. - Structured output — forced
tool_choiceinteracts with extended thinking on the Messages API (thinking must be handled when tool choice is forced); worth a test case. - Guardrails —
ApplyGuardrailsemantics differ from Converse's inline guardrail config; if the PR scopes guardrails out, that's reasonable but worth documenting.
If request/response shapes or test cases from our implementation would help the review, ask here and we'll post them.
Thanks for this contribution @dgallitelli , and sorry that the PR has been awaiting review for a while! Discussed with the team, and we are aligned that we want to support this.
One shape change request before we dig into the implementation: could you make this a BedrockInvokeModel(BedrockModel) subclass instead of a standalone provider? That aligns with the existing SageMakerAIModel(OpenAIModel) shape, and reduces duplicate code.
Done — BedrockInvokeModel (renamed from BedrockModelInvoke) now subclasses BedrockModel instead of Model directly, matching the SageMakerAIModel(OpenAIModel) shape.
To remove duplication between the two code paths, I pulled the shared logic up into BedrockModel:
_create_bedrock_runtime_client— boto session/client setup (region resolution, user-agent,bedrock-runtimeclient construction)_raise_translated_client_error—ClientError→ModelThrottledException/ContextWindowOverflowExceptiontranslation and the region/model-id/documentation exception notes
BedrockInvokeModel now only overrides what's actually different: request formatting (Anthropic Messages / OpenAI Chat Completions instead of Converse), streaming/response translation for the native InvokeModel(WithResponseStream) APIs, and its own config shape/get_config/update_config.
All existing unit tests pass with updated naming, plus a full mypy/ruff pass on the touched files and the full test suite (2974 passed).
Trimmed the PR down to fit under the 1000-line size gate (now 961, size/l).
Given the size constraint, I kept BedrockInvokeModel self-contained for client setup and error translation rather than lifting shared helpers into BedrockModel — bedrock.py is now untouched. This still matches the SageMakerAIModel(OpenAIModel) precedent: that class also builds its own boto client from scratch and doesn't delegate construction to its base despite subclassing it. bedrock_invoke.py still subclasses BedrockModel per the request; the config shape, request formatting, streaming, and response translation are what differ and are what's overridden.
Also deduped the repeated temperature/top_p/top_k/stop_sequences assignment blocks within bedrock_invoke.py via a small _apply_sampling_params helper, and compacted some repeated test payload literals.
All tests pass (2974), mypy and ruff clean.
Codecov Report
:x: Patch coverage is 97.65258% with 15 lines in your changes missing coverage. Please review.
:loudspeaker: Thoughts on this report? Let us know!
Thanks for the revision! Commit cac592005 was the right form, I'd suggest we go back to it, helpers included. Don’t optimize against the size gate, it's not a requirement. Correctness matters more than the line count.
Separately, a few things that need fixing in either shape, where the overrides are causing bugs:
-
context_window_limitsilently falls back toNone. ConversationManager reads that property for proactive compression. That needs overriding. -
Cancellation blocks until the stream drains. The
stream()override replaces by a barefinally: awaittask which causes additional delay. Same for structured_output. -
Override
count_tokensto fall back to the heuristic since the inherited one isn't supported.
Addressed — pushed be053f1e.
Shape: restored the _create_bedrock_runtime_client / _raise_translated_client_error shared helpers on BedrockModel from cac592005. BedrockInvokeModel now delegates client setup and ClientError translation to those instead of duplicating them. Didn't optimize against the size gate this time.
1. context_window_limit: get_config() now calls resolve_config_metadata(self.config, self.config.get("model_id", "")), same as BedrockModel. Known model IDs resolve their limit (e.g. anthropic.claude-3-5-sonnet-20241022-v2:0 → 200k); explicit overrides still take priority; unknown IDs stay None.
2. Cancellation: stream() no longer has finally: await task. It now matches BedrockModel's pattern — let the exception propagate and schedule the orphaned task's exception to be consumed later via add_done_callback, instead of blocking on the in-flight boto3 call. Added a test asserting gen.aclose() returns in <50ms against a 100ms-blocking mocked call. structured_output() didn't need an independent fix — it has no task/queue of its own, it just consumes stream(), so it inherits the fix.
3. count_tokens: overridden to always call the base heuristic (Model.count_tokens), bypassing BedrockModel's native CountTokens path since that expects Converse-shaped request bodies and can't handle what _format_invoke_request produces.
All existing + new tests pass (4767 total), mypy and ruff clean.
Addressed all 4 — pushed ffe79857.
1. Parallel tool calls collapsing (_emit_openai_chunks): replaced the deferred-close started: set[int] pattern with a single-open-block invariant (active/active_index), matching _emit_openai_non_streaming's start→delta→stop sequencing. A block is now closed before the next opens, so each parallel tool call gets its own delimited block instead of being overwritten by the consumer's current_tool_use.
2. No escape hatch for Anthropic-only features: added params: dict[str, Any] | None to BedrockInvokeConfig, merged last into both _format_anthropic_request and _format_openai_request — same pattern and ordering as anthropic.py/openai.py's params, so thinking, anthropic_beta, etc. are now reachable and can override computed fields if needed.
3. Silently-wrong inherited methods: format_request() and convert_non_streaming_to_streaming() are now explicitly overridden to raise NotImplementedError pointing callers at BedrockModel, instead of silently returning/crashing on Converse-shaped data this provider never produces or consumes.
4. Dropped content blocks + hardcoded latency: unsupported blocks (document, video, cachePoint, reasoningContent, and image on the OpenAI path) now raise TypeError matching the bedrock.py/anthropic.py/openai.py precedent, instead of silently vanishing — which previously could drop an entire message and break role alternation. latencyMs is now measured with time.perf_counter() around the boto3 call instead of hardcoded to 0.
Added 20 tests (33 → 53 in test_bedrock_invoke.py), each verified by reverting its corresponding fix and confirming the test fails. Full tests/strands/models/ suite: 969 passed. ruff check and mypy clean on the touched files.
Thanks for the updates! There are a few path where raising or warning might be better than silent degration:
- Stop-reason maps cover only the common cases.
content_filter/refusalfall through toend_turn, so a filtered turn reads as a successful finish. Strands hascontent_filteredasStopReasonfor this. - Non-text
toolResultcontent is dropped or stringified. We should match the way unsupported top-level blocks raise here.
Apart ftom that, this lgtm, I'll ask an api bar raiser to do a pass.
Addressed the latest feedback from @opieter-aws in f82f5f5c (included in the current PR head):
- Filtered stop reasons: Anthropic
refusaland OpenAIcontent_filternow map to Strandscontent_filteredinstead of falling through toend_turn. - Non-text tool results: both request families now accept text-only
toolResultcontent and raise the existing unsupported-blockTypeErrorfor JSON, image, document, and other non-text blocks instead of silently dropping or stringifying them. - Regression coverage: added parameterized tests for both model families and each unsupported nested content type, plus explicit stop-reason mapping tests.
Validation for this update: 80 tests passed in test_bedrock_invoke.py; Ruff and mypy are clean.
The four earlier review threads—parallel tool-call block handling, params passthrough, unsupported inherited methods, and unsupported blocks/latency metrics—are also implemented and covered by regression tests.
This should address the remaining items before the API bar-raiser pass.
@strandly-the-agent can you review this PR and test the functionality E2E?
Addressed the Strands Review feedback — pushed 1da9c7fe.
🔴 Blocker: Confirmed and fixed — input_schema/parameters were passing the whole ToolSpec.inputSchema envelope ({"json": {...}}) instead of unwrapping to ["json"], on both the anthropic and openai paths. Independently re-verified live against global.anthropic.claude-sonnet-4-6: the old wrapped shape reproduces the exact tools.0.custom.input_schema.type: Field required you saw; the unwrapped shape now returns a correct tool_use block with the right args. The 3 test fixtures that masked this (hand-built with the already-unwrapped shape) are fixed too — one now derives from a real tool factory instead of another hand-built dict, so it can't drift from the contract again.
Model-family question: went with a guard, not a docs change. Auto-detection now raises for known native-schema id prefixes (amazon./meta./mistral./cohere./ai21.) — those already have full support via BedrockModel/Converse, and there's no correct request shape for them here. An explicit model_family override still works, so a native-shaped model re-imported under CMI isn't blocked. Also added an exception note on ClientError naming which family the body used, whether it was auto-detected or explicit, and how to override — should make the "Claude behind an inference-profile ARN auto-detects as openai" failure self-explanatory instead of a bare anthropic_version: Field required.
Cancellation: cancel_signal was being swallowed by **kwargs. Now threaded through stream() → _stream(), mirroring BedrockModel's pattern — breaks at the next chunk boundary on both paths instead of continuing to stream (and bill) after cancellation.
openai streaming usage: request now sets stream_options={"include_usage": true} for the openai family when streaming (anthropic path untouched, in case a strict imported endpoint rejects the unknown field), and the metadata event fires unconditionally instead of only if usage:, so a still-noncompliant endpoint reports zero instead of nothing at all.
Tool-call name-after-id: read event_loop/streaming.py first, per your note — confirmed a later delta can't override a field already set on an opened block, so "forward the name in a later delta" is structurally impossible. Implemented buffering instead: a tool-call index is held until both an id and a non-empty name have arrived before its block opens.
max_tokens: hoisted the 4096 default to a named constant, None-guarded so max_tokens=None doesn't reach the wire as literal null, and added an Attributes docstring covering the default, streaming, and top_k's no-op on the openai family. Also corrected the multimodal docstring note — model_family="anthropic" only helps if the underlying model actually speaks Anthropic Messages; it's not a universal image workaround, since family selects wire dialect, not capability. One correction to how this item was scoped: max_tokens is sent on both request families, not anthropic-only — documented accordingly.
On the non-blocking Questions:
- Docs-site page: agreed a new public provider warrants one; will follow up as a separate PR to keep this change scoped.
- Live imported-model (openai-family) request/response pair: still don't have a Custom Model Import model available to test against, so that path remains verified only via mocked unit tests, as before.
super().__init__(): intentionally not called — added a one-line comment explaining why (BedrockModel.__init__would create a second client and set an incompatible config shape).
Left for a follow-up, explicitly out of scope for this round: the 14-item non-blocking appendix (extended-thinking round-trip, cache-token mapping, conformance-harness registration, latency/usage test assertion quality, etc.).
All existing + new tests pass (1407 in tests/strands/models/), ruff-lint and mypy clean. One thing worth flagging: ruff format --check (not part of the CI lint gate, which only runs hatch fmt --linter --check) already flags this file and 4 others at main HEAD due to a formatter-version/style drift unrelated to this change — left untouched rather than introducing unrelated churn.
Completed the review follow-up in da52badea6b6953a0bbe6c632d30abca7d7e999f and rechecked all 12 inline threads, the review summary, all 14 appendix items, and the community cache/guardrail suggestions.
The changes cover schema unwrapping and real tool fixtures; native-family guards and guidance; cancellation and response cleanup; late/parallel tool calls; complete usage/latency assertions; token defaults and dialect limitations; mixed tool-result ordering; and forced tool choice with thinking. Anthropic caching now follows the shared system/tools/message placement and TTL rules, with manual boundaries and dynamic tails. Ordering cannot silently move excluded content inside a cache boundary; impossible boundaries raise an actionable error. Strict OpenAI endpoints can omit stream_options using params={"stream_options": None}.
The provider guide and examples are included under site/. Both transports are registered in the conformance harness, and its agent-invocation test now uses the supplied model fixture. The existing unknown-config-key storage behavior (#815) remains outside scope as agreed in the review. Advanced deferred/tool-search features in #1349/#2700 remain separate follow-ups.
Validation on the completed source:
hatch test -py 3.13 tests -n 4 --cov=strands: 7,039 passed, 31 skipped. The initial run hit one timeout in the unchanged background-task suite; that file passed independently and subsequent full runs passed.- Python 3.10 provider/Bedrock/event-loop tests: 652 passed, 7 skipped. Ruff formatting/lint and mypy passed.
- Live Bedrock dedicated and shared conformance tests: 14 passed, 2 skipped, covering both transports, actual tool invocation, exact structured output, and cache writes followed by reads.
- Site build: 970 pages, no broken links; 613 site tests passed, 2 skipped; site and snippet type checks passed.
- Actual commit hooks: 4,733 TypeScript tests passed, plus build, lint, formatting, and type checks.
- Provider coverage: 99.65% statements, 95.49% branches locally. GitHub/Codecov still needs to refresh on this commit.
- Adversarial reevaluation: 549 independent cases passed, with no remaining actionable findings in the reviewed scope. It found a cache/order interaction during implementation; all three reproductions were fixed and added as regressions.
Live imported-model/OpenAI compatibility remains unverified. No imported model was available in the inspected regions, so the two ARN-gated cases are skipped. OpenAI request/response behavior is covered by controlled fixtures; no cloud resources were provisioned. This is the explicit disclosure requested in the review, not a claim of live Custom Model Import validation.
The six remaining inline threads have been replied to and resolved with individual evidence. Maintainer follow-up is still needed for any fork-workflow/environment approval, a successful required CI Gate, and a qualifying code-owner/last-push review. This follow-up does not approve or merge the PR or dismiss any review.
Final GitHub state: 12/12 review threads resolved, head da52badea6b6953a0bbe6c632d30abca7d7e999f, MERGEABLE, REVIEW_REQUIRED.
Remaining gates are external:
- CI run 35302321586 is
action_requiredwith zero jobs, so the requiredCI Gatehas not run. A maintainer must authorize the fork workflow and obtain a passing gate. The title check and PR metrics are alsoaction_required; these are execution holds, not observed code/test failures. - The branch rules require a qualifying code-owner review, including approval of the latest push. Thread resolution does not satisfy that requirement.
- Automatic review and docs preview wait on the
manual-approvalenvironment; the API reportscurrent_user_can_approve=false. Those environment actions remain with maintainers.
Published 1c57ae74e51efe1e18678e4d7c11d0d01f1f267e: merged the seven missing main commits through 54ca0bef with a normal merge. Verified against live GitHub: 0 behind / 27 ahead.
Validation also caught two issues now fixed: three TypeScript test fixtures ignored TMPDIR, and the newly inherited Graph/Swarm snapshot restore marked recovery complete before a storage read succeeded. Recovery now remains retryable after a transient failure; its new regression failed before the fix and passed afterward.
Validation passed: 7,058 Python tests (31 skipped), 4,745 TypeScript tests, all actual commit hooks, Python formatting/lint/type checks, TS build/lint/format/types, and site/snippet type checks. The docs build checked 1,047 pages with no broken links; 613 site tests passed (2 skipped). Live Bedrock: 14 passed / 2 skipped. Independent evaluation passed 35 provider tests, 30 stream cases, 192 cache cases, and six recovery/cancellation cases after fixing its snapshot finding.
The imported-model/OpenAI path remains unverified live without an imported model ARN. npm audit reports 11 existing advisories (3 high) in lockfiles identical to upstream; those dependencies need separate upstream maintenance.
Maintainer action: authorize CI run 35546919784, currently action_required with zero jobs, to obtain the required CI Gate. Automatic review, docs preview, and TS integration wait for manual-approval (current_user_can_approve=false). A qualifying code-owner/last-push approval is also outstanding. All 12 existing review threads remain satisfied and resolved.