From 071516df0c6e251d91a38cee90b57f4cc5040f0c Mon Sep 17 00:00:00 2001
From: Liuyang <2746366019@qq.com>
Date: Sun, 2 Mar 2025 10:31:18 +0800
Subject: [PATCH] =?UTF-8?q?refactor(llm):=20=E9=87=8D=E6=9E=84=E6=A8=A1?=
=?UTF-8?q?=E5=9E=8B=E8=A1=A5=E5=85=A8=E6=B5=81=E5=BC=8F=E5=A4=84=E7=90=86?=
=?UTF-8?q?=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 优化了 ChatReqVO 和 DataRefluxDataSaveReqVO 中的数据类型
- 重构了 ConversationController 和 ConversationService 中的 chatStream 方法
- 重新实现了 ModelService 中的 modelCompletionsStream 方法,采用更高效的处理方式
- 新增了辅助方法 parseStreamLine、extractJsonFromDataString、setupRequest 和 handleResponseEntity 以提高代码可读性和可维护性
---
yudao-module-llm/yudao-module-llm-biz/pom.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/yudao-module-llm/yudao-module-llm-biz/pom.xml b/yudao-module-llm/yudao-module-llm-biz/pom.xml
index e01a56f9b..7b395d1f1 100644
--- a/yudao-module-llm/yudao-module-llm-biz/pom.xml
+++ b/yudao-module-llm/yudao-module-llm-biz/pom.xml
@@ -40,7 +40,10 @@
cn.iocoder.boot
yudao-spring-boot-starter-excel
-
+
+ org.springframework.boot
+ spring-boot-starter-websocket
+
cn.iocoder.boot