refactor(llm): 移除基模型保存接口中的模型类型非空校验

- 注释掉了 BaseModelSaveReqVO 类中的 modelType 字段的 @NotEmpty 注解- 此修改可能是为了支持模型类型的可选性或在后端进行默认值设置
This commit is contained in:
sunxiqing 2025-07-31 13:28:57 +08:00
parent 576c393262
commit ddde5e5925

View File

@ -25,7 +25,7 @@ public class BaseModelSaveReqVO {
private Integer maxContextLength;
@Schema(description = "模型类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@NotEmpty(message = "模型类型不能为空")
// @NotEmpty(message = "模型类型不能为空")
private String modelType;
@Schema(description = "是否启动", requiredMode = Schema.RequiredMode.REQUIRED)