Bug: Codex generates incorrect Amazon Bedrock Mantle endpoint

Open 💬 0 comments Opened Aug 6, 2026 by shobhit-barua

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_

View original on GitHub ↗