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

Method UpdateProviderConfig

controller/ai/iml.go:79–84  ·  view source on GitHub ↗
(ctx *gin.Context, id string, input *ai_dto.UpdateConfig)

Source from the content-addressed store, hash-verified

77}
78
79func (i *imlProviderController) UpdateProviderConfig(ctx *gin.Context, id string, input *ai_dto.UpdateConfig) error {
80 if strings.TrimSpace(id) == "" {
81 return fmt.Errorf("id is empty")
82 }
83 return i.module.UpdateProviderConfig(ctx, id, input)
84}
85
86func (i *imlProviderController) UpdateProviderDefaultLLM(ctx *gin.Context, id string, input *ai_dto.UpdateLLM) error {
87 //return i.module.UpdateProviderDefaultLLM(ctx, id, input)

Callers

nothing calls this directly

Calls 1

UpdateProviderConfigMethod · 0.65

Tested by

no test coverage detected