MCPcopy Create free account
hub / github.com/coder/aibridge / RoutePrefix

Method RoutePrefix

provider/provider.go:63–63  ·  view source on GitHub ↗

RoutePrefix returns a prefix on which the provider's bridged and passthroguh routes will be registered. Must be unique across providers to avoid conflicts.

()

Source from the content-addressed store, hash-verified

61 // RoutePrefix returns a prefix on which the provider's bridged and passthroguh routes will be registered.
62 // Must be unique across providers to avoid conflicts.
63 RoutePrefix() string
64
65 // BridgedRoutes returns a slice of [http.ServeMux]-compatible routes which will have special handling.
66 // See https://pkg.go.dev/net/http#hdr-Patterns-ServeMux.

Callers 1

NewRequestBridgeFunction · 0.65

Implementers 4

MockProviderinternal/testutil/mockprovider.go
Anthropicprovider/anthropic.go
Copilotprovider/copilot.go
OpenAIprovider/openai.go

Calls

no outgoing calls

Tested by

no test coverage detected