refactor(llm): 移除基模型保存接口中的模型类型非空校验
- 注释掉了 BaseModelSaveReqVO 类中的 modelType 字段的 @NotEmpty 注解- 此修改可能是为了支持模型类型的可选性或在后端进行默认值设置
This commit is contained in:
parent
576c393262
commit
ddde5e5925
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user