Skip to content

feat(llm-helper): the classic Bedrock runtime as a second surface (llm.aws.api), and the live drive's record - #112

Merged
acn-ericlaw merged 1 commit into
mainfrom
feat/llm-helper-bedrock-runtime
Oct 14, 2026
Merged

acn-ericlaw merged 1 commit into
mainfrom
feat/llm-helper-bedrock-runtime

Conversation

@acn-ericlaw

Copy link
Copy Markdown
Contributor

What

The classic Bedrock runtime as a second surface of the helper's Bedrock backend. llm.aws.api selects mantle (the default: AnthropicBedrockMantle, the Anthropic-shaped endpoint, a bare model id prefixed anthropic.) or runtime (AnthropicBedrock from the same package, the classic endpoint, every model id sent exactly as written - an inference profile id as the account lists it, such as us.anthropic.claude-haiku-4-5-20251001-v1:0, since those carry dates and versions no rule can derive). llm.health names the surface beside the backend, model and region; the classic client's quiet fallback to us-east-1 is refused as 503 AWS region missing before any call; a bad value is a 500 by name; a Bedrock API key is counted where the classic client holds it, as its auth token. Two shared vectors (68) pin the runtime surface's id rule in both packs. The README, the configuration and the CHANGELOG document the two surfaces and the sign that an account lacks the default one: a 403 ... is not available for this account on a model the console's playground runs. This pack's test report gains the live drive.

Why

Found by the live drive on AWS Bedrock (2026-10-14), negative controls first: a corrupted secret came back as a 401 by name and no credential as the 503 by name (the chain's CredentialsProviderError, mapped as built), and then every positive call on the default surface was refused for the account while the classic runtime served Haiku 4.5. With the surface switch, this helper answered a chat, a structured verdict and a progressive stream on Bedrock through IAM with no vendor key, and the Java engine's shipped support-triage graph and streaming relay ran in front of it. The Python twin is mercury-python #44; the engines' certification report records the drive as Scenario 8.

Gates

  • npm test (the build and node --test) 196 green - no token spent, no credential needed

Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com

🤖 Generated with Claude Code

…m.aws.api: mantle | runtime), and the live drive's record

An account may be enabled for one Bedrock surface and not the other: the drive of 2026-10-14 found an enterprise account refusing every Claude model on the Anthropic-shaped endpoint while its classic runtime served Haiku 4.5. llm.aws.api selects mantle (the default, AnthropicBedrockMantle with the anthropic. prefix for a bare id) or runtime (AnthropicBedrock, every model id sent as written - an inference profile id as the account lists it); llm.health names the surface; the classic client's silent us-east-1 fallback is refused as the 503 by name; a bad value is a 500 by name; a Bedrock API key is counted where the classic client holds it, as its auth token. Two shared vectors (68) pin the runtime surface's id rule in both packs; the README, the configuration and the CHANGELOG document the two surfaces and the sign that an account lacks the default one. This pack's report gains the live drive: negative controls first (the chain's CredentialsProviderError mapped as built), then chat, a structured verdict and a progressive stream on Haiku 4.5, and the Java engine's shipped triage graph and streaming relay in front of the helper.
acn-ericlaw added a commit that referenced this pull request Oct 14, 2026
…s gates, the runtime surface (PR #112 open); llm-helper-bedrock-iam closed

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@acn-ericlaw
acn-ericlaw merged commit 0ece23f into main Oct 14, 2026
5 checks passed
@acn-ericlaw
acn-ericlaw deleted the feat/llm-helper-bedrock-runtime branch October 14, 2026 01:32
acn-ericlaw added a commit that referenced this pull request Oct 14, 2026
…s record on main; sprint 1 complete

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant