(ctx *gin.Context, id string, input *ai_dto.UpdateConfig)
| 77 | } |
| 78 | |
| 79 | func (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 | |
| 86 | func (i *imlProviderController) UpdateProviderDefaultLLM(ctx *gin.Context, id string, input *ai_dto.UpdateLLM) error { |
| 87 | //return i.module.UpdateProviderDefaultLLM(ctx, id, input) |
nothing calls this directly
no test coverage detected