chore: 修改成功响应
This commit is contained in:
parent
db729299c4
commit
447e0f19bb
@ -34,13 +34,13 @@
|
||||
"typescript": "^5.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dotenvx/dotenvx": "^1.14.1",
|
||||
"@dotenvx/dotenvx": "^1.14.2",
|
||||
"@egg/hooks": "^1.2.0",
|
||||
"@egg/lark-msg-tool": "^1.4.0",
|
||||
"@egg/logger": "^1.4.3",
|
||||
"@egg/net-tool": "^1.8.0",
|
||||
"@egg/net-tool": "^1.9.1",
|
||||
"@egg/path-tool": "^1.4.1",
|
||||
"@langchain/core": "^0.3.3",
|
||||
"@langchain/core": "^0.3.4",
|
||||
"@langchain/openai": "^0.3.2",
|
||||
"joi": "^17.13.3",
|
||||
"langfuse-langchain": "^3.26.0",
|
||||
|
@ -5,7 +5,7 @@ import groupAgent from "./groupAgent"
|
||||
|
||||
const ACTION_MAP = {
|
||||
sendFunctionSelector: groupAgent.sendFunctionSelector,
|
||||
sendTimeScopeSelector: groupAgent.sendFunctionSelector,
|
||||
sendTimeScopeSelector: groupAgent.sendTimeScopeSelector,
|
||||
manageGroupMsg: groupAgent.manageGroupMsg,
|
||||
}
|
||||
|
||||
|
@ -29,5 +29,5 @@ export const manageBotReq = async (ctx: Context.Data): Promise<Response> => {
|
||||
if (getIsActionMsg(body)) manageActionMsg(ctx)
|
||||
|
||||
// 返回成功响应
|
||||
return ctx.genResp.json({})
|
||||
return ctx.genResp.custom("{}")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user