Commit 1673081b7dc2de65c33f3fdecedcce6279be0843
1 parent
f85c89a4
【优化】modal 中的 config 没有什么作用
Showing
4 changed files
with
10 additions
and
5 deletions
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/dal/1 deleted
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/dal/dataobject/AiChatModalDO.java
| 1 | 1 | package cn.iocoder.yudao.module.ai.dal.dataobject; |
| 2 | 2 | |
| 3 | 3 | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; |
| 4 | +import com.baomidou.mybatisplus.annotation.TableName; | |
| 4 | 5 | import lombok.Data; |
| 5 | 6 | import lombok.experimental.Accessors; |
| 6 | 7 | |
| ... | ... | @@ -13,6 +14,7 @@ import lombok.experimental.Accessors; |
| 13 | 14 | */ |
| 14 | 15 | @Data |
| 15 | 16 | @Accessors(chain = true) |
| 17 | +@TableName("ai_chat_modal") | |
| 16 | 18 | public class AiChatModalDO extends BaseDO { |
| 17 | 19 | |
| 18 | 20 | /** |
| ... | ... | @@ -32,10 +34,6 @@ public class AiChatModalDO extends BaseDO { |
| 32 | 34 | */ |
| 33 | 35 | private String modalImage; |
| 34 | 36 | /** |
| 35 | - * 模型配置JSON | |
| 36 | - */ | |
| 37 | - private String modelConfig; | |
| 38 | - /** | |
| 39 | 37 | * 禁用 0、正常 1、禁用 |
| 40 | 38 | */ |
| 41 | 39 | private Integer disable; | ... | ... |
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/dal/pageinfo.java
0 → 100644
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/vo/ChatReq.java
| ... | ... | @@ -19,7 +19,7 @@ public class ChatReq { |
| 19 | 19 | |
| 20 | 20 | @Schema(description = "ai模型(查看 AiClientNameEnum)") |
| 21 | 21 | @NotNull(message = "模型不能为空!") |
| 22 | - @Size(max = 30, message = "模型字符最大30个字符!") | |
| 22 | + @Size(max = 30, message = "模型字符最大 30个字符!") | |
| 23 | 23 | private String modal; |
| 24 | 24 | |
| 25 | 25 | @Schema(description = "对话Id") | ... | ... |