refactor(llm): 将模型服务中的检查点字段类型从 Long 修改为 String
- 在 ModelServicePageReqVO 和 ModelServiceRespVO 中,将 checkPoint 字段的类型从 Long 改为 String- 这个改动可能是为了更好地处理检查点数据,避免潜在的数值溢出问题
This commit is contained in:
parent
80c736e9b8
commit
6e6303ac96
@ -22,7 +22,7 @@ public class ModelServicePageReqVO extends PageParam {
|
||||
private Long fineTuningTask;
|
||||
|
||||
@Schema(description = "检查点,使用字典(llm_model_checkpoint)")
|
||||
private Long checkPoint;
|
||||
private String checkPoint;
|
||||
|
||||
@Schema(description = "GPU,使用字典(llm_gpu_type)", example = "1")
|
||||
private Long gpuType;
|
||||
|
@ -28,8 +28,8 @@ public class ModelServiceRespVO {
|
||||
|
||||
@Schema(description = "检查点,使用字典(llm_model_checkpoint)")
|
||||
@ExcelProperty(value = "检查点,使用字典(llm_model_checkpoint)", converter = DictConvert.class)
|
||||
@DictFormat("llm_model_checkpoint") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
||||
private Long checkPoint;
|
||||
// @DictFormat("llm_model_checkpoint") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
||||
private String checkPoint;
|
||||
|
||||
@Schema(description = "GPU,使用字典(llm_gpu_type)", example = "1")
|
||||
@ExcelProperty(value = "GPU,使用字典(llm_gpu_type)", converter = DictConvert.class)
|
||||
|
Loading…
x
Reference in New Issue
Block a user