Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ shouldUseAIGatewayRouting
Method
shouldUseAIGatewayRouting
coderd/x/chatd/model_routing.go:94–96 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
92
}
93
94
func
(p *Server) shouldUseAIGatewayRouting() bool {
95
return
p.aiGatewayRoutingEnabled
96
}
97
98
func
(p *Server) resolveModelRouteForConfig(
99
ctx context.Context,
Callers
5
delegatedAPIKeyIDForSubagent
Method · 0.95
resolveModelRouteForConfig
Method · 0.95
resolveModelRouteForProviderType
Method · 0.95
resolveAdvisorModelOverride
Method · 0.95
preferredShortTextCandidates
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected