POC: chatd uses aibridged routing in OSS - #25577
#25577Closed
dannykopping wants to merge 1 commit into
graphite-base/25577coder/coder:graphite-base/25577from
dk/aibridge-inmemory-host-prefixcoder/coder:dk/aibridge-inmemory-host-prefixCopy head branch name to clipboard
Closed
POC: chatd uses aibridged routing in OSS#25577dannykopping wants to merge 1 commit intographite-base/25577coder/coder:graphite-base/25577from dk/aibridge-inmemory-host-prefixcoder/coder:dk/aibridge-inmemory-host-prefixCopy head branch name to clipboard
dannykopping wants to merge 1 commit into
graphite-base/25577coder/coder:graphite-base/25577from
dk/aibridge-inmemory-host-prefixcoder/coder:dk/aibridge-inmemory-host-prefixCopy head branch name to clipboard
Conversation
This was referenced May 21, 2026
This was referenced May 21, 2026
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 21, 2026
dannykopping
changed the base branch from
dk/aibridge-inmemory-pipe
to
graphite-base/25577
May 21, 2026 16:34
dannykopping
force-pushed
the
graphite-base/25577
branch
from
May 21, 2026 16:50
df9c129 to
b3dd62e
Compare
dannykopping
force-pushed
the
dk/aibridge-inmemory-host-prefix
branch
from
May 21, 2026 16:50
6336792 to
add17ab
Compare
dannykopping
changed the base branch from
graphite-base/25577
to
dk/aibridge-inmemory-pipe
May 21, 2026 16:50
dannykopping
force-pushed
the
dk/aibridge-inmemory-host-prefix
branch
from
May 21, 2026 18:19
add17ab to
b5981a0
Compare
dannykopping
force-pushed
the
dk/aibridge-inmemory-pipe
branch
2 times, most recently
from
May 21, 2026 18:19
b3dd62e to
7aaf647
Compare
dannykopping
force-pushed
the
dk/aibridge-inmemory-host-prefix
branch
2 times, most recently
from
May 21, 2026 18:38
b5981a0 to
5b236dd
Compare
dannykopping
force-pushed
the
dk/aibridge-inmemory-pipe
branch
3 times, most recently
from
May 22, 2026 07:12
063af1f to
c2fa1c4
Compare
…vider prefix Fantasy SDK clients construct upstream URLs like POST https://api.anthropic.com/v1/messages, so the in-process RoundTripper that ships the request to aibridged sees a path of /v1/messages. The aibridge mux dispatches on the provider-prefixed path (/anthropic/v1/messages) just like aibridgeproxyd does on the network path, so a naive request lands in the mux's catch-all and returns 404 'route not supported'. Add a host -> provider-name lookup to the transport factory. When the request's URL host matches a configured provider's BaseURL host, prepend /{providerName} to the path before invoking the handler. The mapping is built once at daemon startup from the same providers passed to newAIBridgeDaemon, mirroring enterprise/cli/aibridgeproxyd.go's domainsFromProviders. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dannykopping
force-pushed
the
dk/aibridge-inmemory-host-prefix
branch
from
May 22, 2026 07:13
5b236dd to
e350dae
Compare
dannykopping
changed the base branch from
dk/aibridge-inmemory-pipe
to
graphite-base/25577
May 22, 2026 08:58
This was referenced May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is not a real PR intended to be merged; it's merely a validation that Agents + OSS can target AI Gateway while the HTTP API cannot be accessed directly without a license.