fix(group-agent): 修复卡片报错
All checks were successful
Egg Server MIflow / build-image (push) Successful in 47s

This commit is contained in:
zhaoyingbo 2024-09-27 03:11:02 +00:00
parent b4871e837a
commit 6cbc509f96
3 changed files with 2 additions and 2 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -38,7 +38,7 @@
"@egg/hooks": "^1.2.0",
"@egg/lark-msg-tool": "^1.4.0",
"@egg/logger": "^1.4.3",
"@egg/net-tool": "^1.7.1",
"@egg/net-tool": "^1.8.0",
"@egg/path-tool": "^1.4.1",
"@langchain/core": "^0.3.3",
"@langchain/openai": "^0.3.2",

View File

@ -34,5 +34,5 @@ export const manageActionMsg = async (ctx: Context.Data) => {
const actionType = getActionType(ctx.body)
if (actionType === "button") manageBtnClick(ctx)
if (actionType === "select_static") manageBtnClick(ctx)
return ctx.genResp.json()
return ctx.genResp.empty200()
}