forked from EduCraft/curriculum-project-hub
fix: hide per-run cost from Feishu replies
This commit is contained in:
@@ -168,7 +168,8 @@ describe("trigger full lifecycle (integration)", () => {
|
||||
msgType: "interactive",
|
||||
replyInThread: undefined,
|
||||
});
|
||||
expect(rt.sentTexts.some((text) => text.includes("mock response") && text.includes("本次成本: $0.0023"))).toBe(true);
|
||||
expect(rt.sentTexts.some((text) => text.includes("mock response"))).toBe(true);
|
||||
expect(rt.sentTexts.some((text) => text.includes("本次成本"))).toBe(false);
|
||||
expect(runAgentCalls).toHaveLength(1);
|
||||
expect(runAgentCalls[0]?.providerProxyEnv).toMatchObject({
|
||||
ANTHROPIC_BASE_URL: "http://127.0.0.1:12345",
|
||||
|
||||
Reference in New Issue
Block a user