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

Method Disable

controller/ai/iml.go:74–77  ·  view source on GitHub ↗
(ctx *gin.Context, id string)

Source from the content-addressed store, hash-verified

72}
73
74func (i *imlProviderController) Disable(ctx *gin.Context, id string) error {
75 //return i.module.UpdateProviderStatus(ctx, id, false)
76 return nil
77}
78
79func (i *imlProviderController) UpdateProviderConfig(ctx *gin.Context, id string, input *ai_dto.UpdateConfig) error {
80 if strings.TrimSpace(id) == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected