Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/aibridge
/ NewOpenAIProvider
Function
NewOpenAIProvider
api.go:52–54 ·
view source on GitHub ↗
(cfg config.OpenAI)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
NewOpenAIProvider(cfg config.OpenAI) provider.Provider {
53
return
provider.NewOpenAI(cfg)
54
}
55
56
func
NewCopilotProvider(cfg config.Copilot) provider.Provider {
57
return
provider.NewCopilot(cfg)
Callers
3
TestValidateProviders
Function · 0.92
TestPassthroughRoutesForProviders
Function · 0.92
main
Function · 0.92
Calls
1
NewOpenAI
Function · 0.92
Tested by
2
TestValidateProviders
Function · 0.74
TestPassthroughRoutesForProviders
Function · 0.74