@@ -50,7 +50,7 @@ public class LLMServiceFactory implements InitializingBean, ApplicationContextAw
/**
* bailian,阿里云的ai平台
*/
- serviceMap.put(LlmModelEnum.ALI.getModel(), applicationContext.getBean(DeepSeekAIService.class));
+ serviceMap.put(LlmModelEnum.BAILIAN.getModel(), applicationContext.getBean(DeepSeekAIService.class));
* ollama
@@ -15,7 +15,7 @@ import java.util.List;
public class LlmChatService {
- @Value("${llm.config.model:deepseek}")
+ @Value("${llm.config.model}")
private String modal;
@@ -9,7 +9,7 @@ public enum LlmModelEnum {
DEEPSEEK("deepseek"),
- ALI("ALI"),
+ BAILIAN("bailian"),
OLLAMA("ollama");