MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Delete

Method Delete

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

Source from the content-addressed store, hash-verified

21}
22
23func (i *imlProviderController) Delete(ctx *gin.Context, id string) error {
24 return i.module.Delete(ctx, id)
25}
26
27func (i *imlProviderController) AddProvider(ctx *gin.Context, input *ai_dto.NewProvider) (*ai_dto.SimpleProvider, error) {
28 if !common.ModelNameValid(input.Name) {

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected