diff --git a/bun.lockb b/bun.lockb index 5a10463..168b2e3 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index c21d772..a6f7714 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/routes/bot/actionMsg.ts b/routes/bot/actionMsg.ts index 0efe9c8..3755d55 100644 --- a/routes/bot/actionMsg.ts +++ b/routes/bot/actionMsg.ts @@ -5,7 +5,7 @@ import groupAgent from "./groupAgent" const ACTION_MAP = { sendFunctionSelector: groupAgent.sendFunctionSelector, - sendTimeScopeSelector: groupAgent.sendFunctionSelector, + sendTimeScopeSelector: groupAgent.sendTimeScopeSelector, manageGroupMsg: groupAgent.manageGroupMsg, } diff --git a/routes/bot/index.ts b/routes/bot/index.ts index 12c6ef6..9f10922 100644 --- a/routes/bot/index.ts +++ b/routes/bot/index.ts @@ -29,5 +29,5 @@ export const manageBotReq = async (ctx: Context.Data): Promise => { if (getIsActionMsg(body)) manageActionMsg(ctx) // 返回成功响应 - return ctx.genResp.json({}) + return ctx.genResp.custom("{}") }