From 7540efaa3adcc68ca3fd3a421b144cb1b54c5289 Mon Sep 17 00:00:00 2001 From: zhaoyingbo Date: Wed, 29 Jan 2025 01:36:02 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=AF=B7=E6=B1=82ID?= =?UTF-8?q?=E5=88=B0=E6=84=8F=E5=9B=BE=E4=BB=A3=E7=90=86=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=B8=AD=EF=BC=8C=E4=BB=A5=E5=A2=9E=E5=BC=BA=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=92=8C=E8=AF=B7=E6=B1=82=E8=B7=9F=E8=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/intentAgent/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/controller/intentAgent/index.ts b/controller/intentAgent/index.ts index 82642f2..2c7c5d0 100644 --- a/controller/intentAgent/index.ts +++ b/controller/intentAgent/index.ts @@ -65,6 +65,7 @@ const agent = async (ctx: Context): Promise => { const { larkBody: { msgText }, logger, + requestId, } = ctx let attempts = 0 @@ -76,8 +77,8 @@ const agent = async (ctx: Context): Promise => { time: new Date().toLocaleString("zh-CN", { timeZone: "Asia/Shanghai" }), jsonSchema, }, - "test", - 0, + requestId, + 0.5, true )