From 95ae0c83d2aa58d86b4039e3f7f16ee93afb8f00 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 23 十月 2026 17:01:00 +0800
Subject: [PATCH] feat(ai): 完善模型管理和智能体导入功能
---
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/model/vo/model/AiModelRespVO.java | 30 +++++++++++++++++-------------
1 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/model/vo/model/AiModelRespVO.java b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/model/vo/model/AiModelRespVO.java
index b50b70a..76c3ec8 100644
--- a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/model/vo/model/AiModelRespVO.java
+++ b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/model/vo/model/AiModelRespVO.java
@@ -2,47 +2,51 @@
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
-
+import lombok.experimental.Accessors;
import java.time.LocalDateTime;
@Schema(description = "绠$悊鍚庡彴 - AI 妯″瀷 Response VO")
@Data
+@Accessors(chain = true)
public class AiModelRespVO {
- @Schema(description = "缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "2630")
+ @Schema(description = "缂栧彿", example = "1")
private Long id;
- @Schema(description = "API 绉橀挜缂栧彿", example = "22042")
+ @Schema(description = "API 瀵嗛挜缂栧彿", example = "1")
private Long keyId;
- @Schema(description = "妯″瀷鍚嶅瓧", example = "寮犱笁")
+ @Schema(description = "妯″瀷鍚嶅瓧", example = "閫氫箟鍗冮棶")
private String name;
- @Schema(description = "妯″瀷鏍囪瘑", example = "gpt-3.5-turbo-0125")
+ @Schema(description = "妯″瀷鏍囪瘑", example = "qwen-plus")
private String model;
- @Schema(description = "妯″瀷骞冲彴", example = "OpenAI")
+ @Schema(description = "妯″瀷骞冲彴", example = "TongYi")
private String platform;
@Schema(description = "妯″瀷绫诲瀷", example = "1")
private Integer type;
- @Schema(description = "鎺掑簭", example = "1")
+ @Schema(description = "妯″瀷鑳藉姏锛歵ext-鏂囨湰锛寁ision-瑙嗚", example = "text")
+ private String capability;
+
+ @Schema(description = "鎺掑簭", example = "0")
private Integer sort;
- @Schema(description = "鐘舵��", example = "2")
+ @Schema(description = "鐘舵��", example = "0")
private Integer status;
- @Schema(description = "娓╁害鍙傛暟", example = "1")
+ @Schema(description = "娓╁害")
private Double temperature;
- @Schema(description = "鍗曟潯鍥炲鐨勬渶澶� Token 鏁伴噺", example = "4096")
+ @Schema(description = "鏈�澶� Token 鏁�")
private Integer maxTokens;
- @Schema(description = "涓婁笅鏂囩殑鏈�澶� Message 鏁伴噺", example = "8192")
+ @Schema(description = "鏈�澶т笂涓嬫枃鏁�")
private Integer maxContexts;
- @Schema(description = "鍒涘缓鏃堕棿", requiredMode = Schema.RequiredMode.REQUIRED)
+ @Schema(description = "鍒涘缓鏃堕棿")
private LocalDateTime createTime;
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3