MCPcopy Index your code
hub / github.com/coder/coder / RoutePrefix

Method RoutePrefix

aibridge/provider/openai.go:89–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87func (*OpenAI) Enabled() bool { return true }
88
89func (p *OpenAI) RoutePrefix() string {
90 // Route prefix includes version to match default OpenAI base URL.
91 // More detailed explanation: https://github.com/coder/aibridge/pull/174#discussion_r2782320152
92 return fmt.Sprintf("/%s/v1", p.Name())
93}
94
95func (*OpenAI) BridgedRoutes() []string {
96 return []string{

Callers 2

CreateInterceptorMethod · 0.95

Calls 1

NameMethod · 0.95

Tested by 1