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

Method RoutePrefix

provider/openai.go:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72func (p *OpenAI) RoutePrefix() string {
73 // Route prefix includes version to match default OpenAI base URL.
74 // More detailed explanation: https://github.com/coder/aibridge/pull/174#discussion_r2782320152
75 return fmt.Sprintf("/%s/v1", p.Name())
76}
77
78func (*OpenAI) BridgedRoutes() []string {
79 return []string{

Callers 2

CreateInterceptorMethod · 0.95

Calls 1

NameMethod · 0.95

Tested by 1