Loren Gordon 5f08939a5d docs: Document Bedrock custom endpoints (#64103)
# Objective

`endpoint_url` was not mentioned anywhere in the gateway docs for the
Bedrock provider, so there was no way to discover that it exists, that
it only redirects the Converse API, or that the built-in GPT and Grok
models are Mantle models that ignore it and go to AWS regardless.

## Solution

- Describe the solution used to achieve the objective above.

Document the setting, the Converse-only scope, and the
`available_models` workaround for gateways that expose the Converse API
but not an OpenAI-compatible one -- including that model names there are
sent verbatim without a cross-region inference prefix.

Separately, it might be nice to describe how the Mantle models can be
redirected using custom `anthropic_compatible` or `openai_compatible`
providers, since Mantle implements the Messages, Responses, and Chat
Completions routes.

## Testing

>- Did you test these changes? If so, how?

Yes, I tested the documented config and confirmed that the model is
displayed in the model picker and that when selected the request is sent
to the gateway. I am using Tailscale Aperture in this environment, and
it captures and logs the entire request and response.

>- Are there any parts that need more testing?

I don't think so.

>- How can other people (reviewers) test your changes? Is there anything
specific they need to know?

You'll need a gateway and access to AWS Bedrock, or evaluate the source
and the tests. Tailscale Aperture is remarkably easy to set up as a
gateway.

>- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?

I don't think the platform is relevant, but I was testing Zed on
Windows, with WSL.

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A

---------

Co-authored-by: Loren Gordon <8457307+lorengordon@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
2026-10-09 15:31:02 +00:00
…
…
…
…
…
2026-10-09 09:15:09 +00:00
…
…
…
…
…
…

Zed

Zed CI

Welcome to Zed, a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.


Installation

On macOS, Linux, and Windows you can download Zed directly or install Zed via your local package manager (macOS/Linux/Windows).

Other platforms are not yet available:

Developing Zed

Contributing

See CONTRIBUTING.md for ways you can contribute to Zed.

Also... we're hiring! Check out our jobs page for open roles.

Licensing

Zed source code is licensed primarily under GPL-3.0-or-later, with Apache-2.0 components where marked.

License information for third party dependencies must be correctly provided for CI to pass.

We use cargo-about to automatically comply with open source licenses. If CI is failing, check the following:

  • Is it showing a no license specified error for a crate you've created? If so, add publish = false under [package] in your crate's Cargo.toml.
  • Is the error failed to satisfy license requirements for a dependency? If so, first determine what license the project has and whether this system is sufficient to comply with this license's requirements. If you're unsure, ask a lawyer. Once you've verified that this system is acceptable add the license's SPDX identifier to the accepted array in script/licenses/zed-licenses.toml.
  • Is cargo-about unable to find the license for a dependency? If so, add a clarification field at the end of script/licenses/zed-licenses.toml, as specified in the cargo-about book.

Sponsorship

Zed is developed by Zed Industries, Inc., a for-profit company.

If you’d like to financially support the project, you can do so via GitHub Sponsors. Sponsorships go directly to Zed Industries and are used as general company revenue. There are no perks or entitlements associated with sponsorship.

S
Description
No description provided
Readme 1.5 GiB
Languages
Rust 95.5%
JSON-with-Comments 2.3%
Python 0.8%
Inno Setup 0.3%
Tree-sitter Query 0.3%
Other 0.3%