From 3ab218efc6c92a3109c9f197cde8e8e0256d738c Mon Sep 17 00:00:00 2001 From: cherishsince Date: Mon, 3 Jun 2024 10:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=B2=A1=E7=94=A8=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../framework/ai/core/enums/AiPlatformEnum.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/core/enums/AiPlatformEnum.java b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/core/enums/AiPlatformEnum.java index d6513354e..7ac341e46 100644 --- a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/core/enums/AiPlatformEnum.java +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/core/enums/AiPlatformEnum.java @@ -33,18 +33,6 @@ public enum AiPlatformEnum { */ private final String name; -// public static List CHAT_PLATFORM_LIST = Lists.newArrayList( -// AiPlatformEnum.YI_YAN, -// AiPlatformEnum.QIAN_WEN, -// AiPlatformEnum.XING_HUO, -// AiPlatformEnum.OPENAI -// ); -// -// public static List IMAGE_PLATFORM_LIST = Lists.newArrayList( -// AiPlatformEnum.OPEN_AI_DALL, -// AiPlatformEnum.MIDJOURNEY -// ); - public static AiPlatformEnum validatePlatform(String platform) { for (AiPlatformEnum platformEnum : AiPlatformEnum.values()) { if (platformEnum.getPlatform().equals(platform)) {