(providerKey string)
| 1131 | } |
| 1132 | |
| 1133 | func (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 | |
| 1140 | func (s *Service) appendPluginModels(providerKey string, models []*ModelInfo) []*ModelInfo { |
| 1141 | pluginModels := s.pluginModelsForProvider(providerKey) |
no test coverage detected