From f96e15703f21fd25a0b933da373e17ff1b78e30a Mon Sep 17 00:00:00 2001 From: xiaobao <854914462@qq.com> Date: Wed, 17 Sep 2025 14:27:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E6=8E=89=E9=A2=84=E8=AE=BE=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server2.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server2.js b/server2.js index ba0e103..e14101b 100755 --- a/server2.js +++ b/server2.js @@ -147,7 +147,7 @@ app.post("/analyze", upload.single("file"), async (req, res) => { { role: "system", content: - "你是一名新能源项目的图像分析专家,只需给出结论与建议,禁止输出任何数学推导、公式或 LaTeX 代码。", + "", }, { role: "user", @@ -191,11 +191,13 @@ app.post("/analyze", upload.single("file"), async (req, res) => { messages: [ { role: "system", - content: "你是一名新能源项目的图像分析AI分析师。", + content:"" + // content: "你是一名新能源项目的图像分析AI分析师。", }, { role: "user", - content: `请基于以下场景分析结果提供部署建议或优化意见:\n${sceneText}`, + content: `${sceneText}`, + // content: `请基于以下场景分析结果提供部署建议或优化意见:\n${sceneText}`, }, ], });