Bug: Codex generates incorrect Amazon Bedrock Mantle endpoint
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start by locating the Amazon Bedrock provider endpoint construction and reproduce the issue with the model, provider, and responses configuration shown here. Compare the generated URL with the expected Bedrock Mantle URL; done means requests use the expected path without the extra segment and the regression is covered by an appropriate test.
Written by the indexing model from the issue text.
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.730.61639
What subscription do you have?
free
What platform is your computer?
windows x64
What issue are you seeing?
Generated by Codex:
https://bedrock-mantle.ap-south-1.api.aws/openai/v1/responses
unexpected status 401 Unauthorized: The security token included in the request is invalid., url: https://bedrock-mantle.ap-south-1.api.aws/openai/v1/responses, request id: req_cvrakpk7f46eflkscjlacdsxm7xadylrkm3swgweroy2cajbcnma
What steps can reproduce the bug?
model = "openai.gpt-oss-120b"
model_provider = "amazon-bedrock"
model_reasoning_effort = "medium"
[model_providers.amazon-bedrock.aws]
wire_api = "responses"
What is the expected behavior?
Expected by Amazon Bedrock Mantle:
https://bedrock-mantle.ap-south-1.api.aws/v1/responses
As a result, requests fail because the generated endpoint does not match the current Bedrock Mantle API.
Additional information
No response
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100