From 2fbb9f88934a48386b81eaf0ef4c2911ce2572c4 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 21 Aug 2025 13:20:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90ai=20=E5=A4=A7=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E3=80=91=E5=8D=87=E7=BA=A7=20spring-ai=20=E5=88=B0=20?= =?UTF-8?q?1.0.1=E3=80=81alibaba-ai=20=E5=88=B0=201.0.0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-dependencies/pom.xml | 2 +- yudao-module-ai/pom.xml | 4 ++-- .../yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml index ede38b34cc..317e8b331f 100644 --- a/yudao-dependencies/pom.xml +++ b/yudao-dependencies/pom.xml @@ -64,7 +64,7 @@ 3.1.0 2.7.0 3.0.6 - 4.1.118.Final + 4.2.4.Final 1.2.5 0.9.0 4.5.13 diff --git a/yudao-module-ai/pom.xml b/yudao-module-ai/pom.xml index 4a2323bcfa..3270b44d1d 100644 --- a/yudao-module-ai/pom.xml +++ b/yudao-module-ai/pom.xml @@ -19,8 +19,8 @@ 国外:OpenAI、Ollama、Midjourney、StableDiffusion、Suno - 1.0.0 - 1.0.0.2 + 1.0.1 + 1.0.0.3 1.0.2 diff --git a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java index f7b42e30ae..3387c9b6b1 100644 --- a/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java +++ b/yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/AiModelFactoryImpl.java @@ -347,7 +347,7 @@ public class AiModelFactoryImpl implements AiModelFactory { * 可参考 {@link DashScopeImageAutoConfiguration} 的 dashScopeImageModel 方法 */ private static DashScopeImageModel buildTongYiImagesModel(String key) { - DashScopeImageApi dashScopeImageApi = new DashScopeImageApi(key); + DashScopeImageApi dashScopeImageApi = DashScopeImageApi.builder().apiKey(key).build(); return DashScopeImageModel.builder() .dashScopeApi(dashScopeImageApi) .build();