From 8096efb8e79772316d093aa3c4810a4071c0a407 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Tue, 14 May 2024 11:55:00 +0800 Subject: [PATCH] test: SparkLlmTest.java --- .../test/java/com/agentsflex/llm/spark/test/SparkLlmTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agents-flex-llm/agents-flex-llm-spark/src/test/java/com/agentsflex/llm/spark/test/SparkLlmTest.java b/agents-flex-llm/agents-flex-llm-spark/src/test/java/com/agentsflex/llm/spark/test/SparkLlmTest.java index bdfa9cf..c90d8b2 100644 --- a/agents-flex-llm/agents-flex-llm-spark/src/test/java/com/agentsflex/llm/spark/test/SparkLlmTest.java +++ b/agents-flex-llm/agents-flex-llm-spark/src/test/java/com/agentsflex/llm/spark/test/SparkLlmTest.java @@ -19,6 +19,7 @@ public class SparkLlmTest { config.setAppId("****"); config.setApiKey("****"); config.setApiSecret("****"); + config.setVersion("v3.5"); Llm llm = new SparkLlm(config); String result = llm.chat("你好,请问你是谁?"); @@ -53,6 +54,7 @@ public class SparkLlmTest { config.setAppId("****"); config.setApiKey("****"); config.setApiSecret("****"); + config.setVersion("v3.5"); Llm llm = new SparkLlm(config);