Browse Source

Edit model

tsurumure 5 tháng trước cách đây
mục cha
commit
f612cebecf

+ 1 - 1
src/main/java/com/backendsys/modules/ai/chat/service/impl/ChatServiceImpl.java

@@ -131,7 +131,7 @@ public class ChatServiceImpl implements ChatService {
 
                 ChatResult chatResult = null;
                 // -- [Deepseek R1] -------------------------------------------------------
-                if ("DEEPSEEK_R1".equals(model)) {
+                if ("OLLAMA".equals(model)) {
                     chatResult = ollamaUtil.chatDeepSeek(user_id, model_version, prompt, final_history_code, chatList);
                 }
                 // -- [Deepseek Api] ------------------------------------------------------