MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / applyOAuthModelAlias

Function applyOAuthModelAlias

sdk/cliproxy/service.go:2584–2586  ·  view source on GitHub ↗
(cfg *config.Config, provider, authKind string, models []*ModelInfo)

Source from the content-addressed store, hash-verified

2582}
2583
2584func applyOAuthModelAlias(cfg *config.Config, provider, authKind string, models []*ModelInfo) []*ModelInfo {
2585 return applyOAuthModelAliasForAuth(cfg, provider, authKind, nil, models)
2586}
2587
2588func applyOAuthModelAliasForAuth(cfg *config.Config, provider, authKind string, attributes map[string]string, models []*ModelInfo) []*ModelInfo {
2589 if len(models) == 0 {

Calls 1