mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 00:15:04 +00:00
fix: route feishu doc tools by agent account context (#27338) (thanks @AaronL725)
This commit is contained in:
@@ -104,6 +104,7 @@ describe("feishu_doc image fetch hardening", () => {
|
||||
|
||||
const feishuDocTool = registerTool.mock.calls
|
||||
.map((call) => call[0])
|
||||
.map((tool) => (typeof tool === "function" ? tool({}) : tool))
|
||||
.find((tool) => tool.name === "feishu_doc");
|
||||
expect(feishuDocTool).toBeDefined();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user