Commit 117470998ea5bfc234543a6d82b837626ac44028
1 parent
a1d5602c
【代码新增】AI:增加混元、通义的 deepseek 测试案例
Showing
1 changed file
with
5 additions
and
1 deletions
yudao-module-ai/yudao-spring-boot-starter-ai/src/test/java/cn/iocoder/yudao/framework/ai/chat/TongYiChatModelTests.java
| @@ -24,7 +24,11 @@ public class TongYiChatModelTests { | @@ -24,7 +24,11 @@ public class TongYiChatModelTests { | ||
| 24 | 24 | ||
| 25 | private final DashScopeChatModel chatModel = new DashScopeChatModel( | 25 | private final DashScopeChatModel chatModel = new DashScopeChatModel( |
| 26 | new DashScopeApi("sk-7d903764249848cfa912733146da12d1"), | 26 | new DashScopeApi("sk-7d903764249848cfa912733146da12d1"), |
| 27 | - DashScopeChatOptions.builder().withModel("qwen1.5-72b-chat").build()); | 27 | + DashScopeChatOptions.builder() |
| 28 | + .withModel("qwen1.5-72b-chat") // 模型 | ||
| 29 | +// .withModel("deepseek-r1") // 模型(deepseek-r1) | ||
| 30 | +// .withModel("deepseek-v3") // 模型(deepseek-v3) | ||
| 31 | + .build()); | ||
| 28 | 32 | ||
| 29 | @Test | 33 | @Test |
| 30 | @Disabled | 34 | @Disabled |