Repository navigation
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
I attempted to configure Amazon Bedrock as the primary model provider in OpenClaw 2026.6.10 on Ubuntu Server 24.04 LTS.
The Amazon Bedrock provider plugin installs successfully, is enabled, and appears to load correctly.
The Bedrock model also appears in openclaw models list as a configured model.
However, when attempting to start a chat, OpenClaw fails before inference with:
Unknown model: amazon-bedrock/anthropic.claude-sonnet-4-6
The runtime reports that the configured model exists under:
agents.defaults.models["amazon-bedrock/anthropic.claude-sonnet-4-6"]
but no corresponding entry exists under:
models.providers["amazon-bedrock"].models[]
During investigation, I found that no models.providers section is ever generated inside ~/.openclaw/openclaw.json, despite the Bedrock plugin being loaded successfully.
This appears to be a provider registration or model discovery issue rather than an AWS authentication issue.
Bug Report- Amazon Bedrock Provider Issue.pdf
Steps to reproduce
-
Install Ubuntu Server 24.04 LTS.
-
Install OpenClaw 2026.6.10 globally using npm.
-
Install and enable the Amazon Bedrock provider plugin.
-
Configure AWS CLI with valid IAM credentials that have Bedrock access.
-
Verify AWS credentials using:
aws configure list
- Export credentials:
export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)
export AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)
export AWS_DEFAULT_REGION=$(aws configure get region)
- Configure the default model:
amazon-bedrock/anthropic.claude-sonnet-4-6
- Refresh the plugin registry:
openclaw plugins registry --refresh
- Verify the model appears:
openclaw models list
- Start OpenClaw:
openclaw chat
- Send a simple prompt:
hello
- OpenClaw fails before inference.
Expected behavior
The Amazon Bedrock provider should register itself as a model provider, populate the provider registry, discover supported Bedrock models, and successfully route inference requests through the AWS SDK.
The configured Bedrock model should be resolved successfully and chat should begin normally.
Actual behavior
The provider plugin loads successfully.
The Bedrock model appears inside:
openclaw models list
The provider also reports its text inference capability.
However, the runtime cannot resolve the configured model because no provider registry exists.
OpenClaw immediately fails with:
Unknown model:
amazon-bedrock/anthropic.claude-sonnet-4-6
Found agents.defaults.models["amazon-bedrock/anthropic.claude-sonnet-4-6"], but no matching models.providers["amazon-bedrock"].models[] entry.
OpenClaw version
OpenClaw 2026.6.10 Commit: aa69b12
Operating system
Ubuntu Server 24.04 LTS
Install method
Global npm installation
Model
anthropic.claude-sonnet-4-6
Provider / routing chain
OpenClaw ↓ Amazon Bedrock Provider Plugin ↓ AWS SDK Credential Chain ↓ Amazon Bedrock Runtime ↓ Claude Sonnet 4.6
Additional provider/model setup details
Plugin enabled:
amazon-bedrock
Region:
us-west-2
Configured default model:
amazon-bedrock/anthropic.claude-sonnet-4-6
AWS credentials configured through AWS CLI.
Credentials exported as environment variables.
Plugin registry refreshed.
Plugin inspection reports the provider as loaded.
No provider aliases configured.
No model aliases configured.
Bug Report- Amazon Bedrock Provider Issue.pdf
Logs, screenshots, and evidence
[Bug Report- Amazon Bedrock Provider Issue.pdf](https://github.com/user-attachments/files/29407852/Bug.Report-.Amazon.Bedrock.Provider.Issue.pdf)Impact and severity
Severity:
High
The Amazon Bedrock provider cannot currently be used despite successful installation and configuration.
Any Bedrock-backed model fails before inference begins.
This prevents users from using Amazon Bedrock as an inference provider in OpenClaw.
Additional information
The issue appears fully reproducible.
The failure occurs consistently after fresh installation.
The plugin is detected.
The model is detected.
The registry refresh succeeds.
The runtime provider registry remains empty.
No models.providers section is generated inside the configuration.
This strongly suggests the provider registration stage is incomplete or skipped before runtime.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 27, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 27, 2026, 8:05 AM ET / 12:05 UTC.
Summary
Keep open: current main still contains the exact model-registration failure path, and the Bedrock plugin/catalog lifecycle is not proven to materialize a runtime-readable catalog for this current-release setup. #88707 overlaps on Bedrock provider registration, but it does not fully cover this issue's
Unknown modelcatalog-resolution symptom.Reproducibility: no. not as a fresh live AWS reproduction in this review. Source inspection confirms the exact current-main error branch and the reporter supplied current-release steps, but the generated Bedrock catalog state still needs live/provider-state proof.
Ways to help us reproduce this
Next step
Manual review is safer because the report needs live Bedrock/provider-state proof and a maintainer decision on the generated plugin catalog lifecycle before a new automated fix PR is safe.
Review details
Best possible solution:
Keep the Bedrock catalog owned by the Amazon Bedrock plugin, but make enabled/configured Bedrock setups reliably generate and read a runtime provider catalog for chat, with live Bedrock proof on current release/main.
Do we have a high-confidence way to reproduce the issue?
No, not as a fresh live AWS reproduction in this review. Source inspection confirms the exact current-main error branch and the reporter supplied current-release steps, but the generated Bedrock catalog state still needs live/provider-state proof.
Is this the best way to solve the issue?
Unclear. The likely fix belongs around Bedrock provider discovery, generated plugin catalogs, and runtime model resolution, but maintainers should decide whether exact
agents.defaults.modelsentries should trigger scoped discovery or require an explicit generated/provider catalog row first.AGENTS.md: found and applied where relevant.
Remaining risk / open question:
openclaw.json, so the remaining failure could be a sidecar generation/read issue, a scoped discovery issue, or a misleading hint.Codex review notes: model internal, reasoning high; reviewed against c5d34c8376f8.
Label changes
Label changes:
maturity:stable: The issue affects stable M4 CLI/Linux gateway/runtime setup and provider-routing surfaces from the maturity shortlist.Label justifications:
P1: A current-release user reports a regression that blocks Amazon Bedrock chat before inference, breaking a real provider workflow.impact:auth-provider: The affected surface is provider discovery, model choice, and runtime routing for the Amazon Bedrock provider.maturity:stable: The issue affects stable M4 CLI/Linux gateway/runtime setup and provider-routing surfaces from the maturity shortlist.Evidence reviewed
Acceptance criteria:
openclaw models list --provider amazon-bedrockandopenclaw chatoropenclaw infer model runuse the same generated catalog.agents.defaults.modelsnames a Bedrock model.What I checked:
AGENTS.md:18, c5d34c8376f8)buildUnknownModelErrorreturnsUnknown model: provider/modeland appends the missing provider-model registration hint whenagents.defaults.modelscontains the model butmodels.providers[provider].models[]does not. (src/agents/embedded-agent-runner/model.ts:1879, c5d34c8376f8)bedrock-converse-streamand registers a provider catalog hook that returns an implicit provider only when Bedrock discovery produces models. (extensions/amazon-bedrock/register.sync.runtime.ts:383, c5d34c8376f8)agents/<agent>/plugins/<plugin>/catalog.json, so absence of a rootmodels.providersentry inopenclaw.jsonis not conclusive by itself; the unresolved question is whether the reporter's Bedrock catalog sidecar is generated and read by chat. (src/agents/sessions/model-registry.ts:366, c5d34c8376f8)agents.defaults.modelsallowlists still use dynamic model discovery. Public docs:docs/providers/bedrock.md. (docs/providers/bedrock.md:81, c5d34c8376f8)Likely related people:
extensions/amazon-bedrock/register.sync.runtime.ts,extensions/amazon-bedrock/discovery.ts,docs/providers/bedrock.md)extensions/amazon-bedrock/register.sync.runtime.ts,extensions/amazon-bedrock/discovery.ts,src/agents/embedded-agent-runner/model.ts)models.providersmismatch reported by this issue. (role: diagnostic contributor; confidence: medium; commits: 1532b46e2a63; files:src/agents/embedded-agent-runner/model.ts,src/agents/embedded-agent-runner/model.test.ts)src/agents/embedded-agent-runner/model.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Harsh01007 commentedon Jun 29, 2026
The Amazon Bedrock plugin loads successfully, openclaw models list includes Bedrock models, and AWS SDK credential detection succeeds. However, at runtime openclaw chat fails with:
Unknown model:
amazon-bedrock/...
because models.providers["amazon-bedrock"] is missing.
Is there an initialization step, feature flag, or configuration required to populate models.providers from the plugin's implicit provider discovery, or is this a regression in 2026.6.10?
openclaw-barnacle commentedon Jul 14, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
openclaw-barnacle commentedon Jul 21, 2026
Closing due to inactivity.
If this is still an issue, please retry on the latest OpenClaw release and share updated details.
If you are absolutely sure it still happens on the latest release, open a new issue with fresh steps to reproduce.