| 3193 | } |
| 3194 | |
| 3195 | type modelProviderFunc struct { |
| 3196 | staticModels func(context.Context, pluginapi.StaticModelRequest) (pluginapi.ModelResponse, error) |
| 3197 | modelsForAuth func(context.Context, pluginapi.AuthModelRequest) (pluginapi.ModelResponse, error) |
| 3198 | } |
| 3199 | |
| 3200 | func (f modelProviderFunc) StaticModels(ctx context.Context, req pluginapi.StaticModelRequest) (pluginapi.ModelResponse, error) { |
| 3201 | if f.staticModels == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected