From 3d3960a3b3d1057db9d2f4016512915e7a5c517d Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 25 Sep 2025 09:56:21 +0800
Subject: [PATCH] feat(ai): 集成百炼工作流实现AI流式对话功能 - 新增百炼工作流SDK相关依赖和工具类 - 实现llmInvokeStreamingWithThink方法用于流式调用 - 配置API Key和应用ID以连接百炼平台 - 启用思考模式(enableThinking)和思维输出(hasThoughts) - 处理流式响应并封装为FebsResponse返回 - 添加异常处理机制捕获API调用错误 - 移除原有的静态提示词配置逻辑 -重构answerStreamV3接口直接调用新实现

---
 src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html b/src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html
index 52543aa..b87ebca 100644
--- a/src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html
+++ b/src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html
@@ -35,11 +35,12 @@
         $view.find('#container').css({"height": document.documentElement.clientHeight - 97 + 'px'});
 
         var map = new AMap.Map("container", {
-            center: [116.368904,39.913423],
-            zoom: 16.8
+            // center: [116.368904,39.913423],
+
+            resizeEnable: true,
+            zoom: 14
         });
         var polyEditor = new AMap.PolyEditor(map);
-
 
         //为地图注册click事件获取鼠标点击出的经纬度坐标
         var path = [];
@@ -68,6 +69,7 @@
             });
             // 将折线添加至地图实例
             map.add(polyline);
+            console.log(path.toString());
         });
 
 
@@ -87,8 +89,6 @@
 
         $createPolygon.on('click', function () {
             febs.alert.success('点击新建');
-            polyEditor.close();
-            polyEditor.open();
         });
 
         $open.on('click', function () {
@@ -105,6 +105,8 @@
                 lineJoin: 'round' // 折线拐点连接处样式
             });
             // 将折线添加至地图实例
+            // map.cleanData(polyline);
+
             map.add(polyline);
         });
 

--
Gitblit v1.9.1