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