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

Method pluginModelsForProvider

sdk/cliproxy/service.go:1133–1138  ·  view source on GitHub ↗
(providerKey string)

Source from the content-addressed store, hash-verified

1131}
1132
1133func (s *Service) pluginModelsForProvider(providerKey string) []*ModelInfo {
1134 if s == nil || s.pluginHost == nil {
1135 return nil
1136 }
1137 return s.pluginHost.ModelsForProvider(providerKey)
1138}
1139
1140func (s *Service) appendPluginModels(providerKey string, models []*ModelInfo) []*ModelInfo {
1141 pluginModels := s.pluginModelsForProvider(providerKey)

Callers 1

appendPluginModelsMethod · 0.95

Calls 1

ModelsForProviderMethod · 0.45

Tested by

no test coverage detected