chore: 修改成功响应
All checks were successful
Egg Server CI/CD / build-image (push) Successful in 44s
Egg Server CI/CD / refresh-image (push) Successful in 13s
Egg Server CI/CD / fast-deploy (push) Successful in 3s

This commit is contained in:
zhaoyingbo 2024-09-30 04:01:06 +00:00
parent db729299c4
commit 447e0f19bb
4 changed files with 5 additions and 5 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -34,13 +34,13 @@
"typescript": "^5.5.4" "typescript": "^5.5.4"
}, },
"dependencies": { "dependencies": {
"@dotenvx/dotenvx": "^1.14.1", "@dotenvx/dotenvx": "^1.14.2",
"@egg/hooks": "^1.2.0", "@egg/hooks": "^1.2.0",
"@egg/lark-msg-tool": "^1.4.0", "@egg/lark-msg-tool": "^1.4.0",
"@egg/logger": "^1.4.3", "@egg/logger": "^1.4.3",
"@egg/net-tool": "^1.8.0", "@egg/net-tool": "^1.9.1",
"@egg/path-tool": "^1.4.1", "@egg/path-tool": "^1.4.1",
"@langchain/core": "^0.3.3", "@langchain/core": "^0.3.4",
"@langchain/openai": "^0.3.2", "@langchain/openai": "^0.3.2",
"joi": "^17.13.3", "joi": "^17.13.3",
"langfuse-langchain": "^3.26.0", "langfuse-langchain": "^3.26.0",

View File

@ -5,7 +5,7 @@ import groupAgent from "./groupAgent"
const ACTION_MAP = { const ACTION_MAP = {
sendFunctionSelector: groupAgent.sendFunctionSelector, sendFunctionSelector: groupAgent.sendFunctionSelector,
sendTimeScopeSelector: groupAgent.sendFunctionSelector, sendTimeScopeSelector: groupAgent.sendTimeScopeSelector,
manageGroupMsg: groupAgent.manageGroupMsg, manageGroupMsg: groupAgent.manageGroupMsg,
} }

View File

@ -29,5 +29,5 @@ export const manageBotReq = async (ctx: Context.Data): Promise<Response> => {
if (getIsActionMsg(body)) manageActionMsg(ctx) if (getIsActionMsg(body)) manageActionMsg(ctx)
// 返回成功响应 // 返回成功响应
return ctx.genResp.json({}) return ctx.genResp.custom("{}")
} }