mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-18 19:20:05 +08:00
【优化】modal 中的 config 没有什么作用
This commit is contained in:
parent
f85c89a405
commit
1673081b7d
@ -1,6 +1,7 @@
|
||||
package cn.iocoder.yudao.module.ai.dal.dataobject;
|
||||
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@ -13,6 +14,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TableName("ai_chat_modal")
|
||||
public class AiChatModalDO extends BaseDO {
|
||||
|
||||
/**
|
||||
@ -31,10 +33,6 @@ public class AiChatModalDO extends BaseDO {
|
||||
* 模型照片
|
||||
*/
|
||||
private String modalImage;
|
||||
/**
|
||||
* 模型配置JSON
|
||||
*/
|
||||
private String modelConfig;
|
||||
/**
|
||||
* 禁用 0、正常 1、禁用
|
||||
*/
|
||||
|
@ -0,0 +1,7 @@
|
||||
package cn.iocoder.yudao.module.ai.dal;
|
||||
|
||||
/**
|
||||
* @author fansili
|
||||
* @time 2024/4/25 15:36
|
||||
* @since 1.0
|
||||
*/
|
@ -19,7 +19,7 @@ public class ChatReq {
|
||||
|
||||
@Schema(description = "ai模型(查看 AiClientNameEnum)")
|
||||
@NotNull(message = "模型不能为空!")
|
||||
@Size(max = 30, message = "模型字符最大30个字符!")
|
||||
@Size(max = 30, message = "模型字符最大 30个字符!")
|
||||
private String modal;
|
||||
|
||||
@Schema(description = "对话Id")
|
||||
|
Loading…
Reference in New Issue
Block a user