MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / imlLocalModelService

Struct imlLocalModelService

service/ai-local/iml.go:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13var _ ILocalModelService = &imlLocalModelService{}
14
15type imlLocalModelService struct {
16 store ai.ILocalModelStore `autowired:""`
17 universally.IServiceGet[LocalModel]
18 universally.IServiceCreate[CreateLocalModel]
19 universally.IServiceEdit[EditLocalModel]
20 universally.IServiceDelete
21}
22
23func (i *imlLocalModelService) UpdateProvider(ctx context.Context, provider string, ids ...string) error {
24 _, err := i.store.UpdateField(ctx, "provider", provider, "uuid in (?)", ids)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected