mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-27 03:37:50 +00:00
test: relay gateway bridge payloads
This commit is contained in:
@@ -1201,9 +1201,10 @@ describe("agent event handler", () => {
|
||||
data?: { name?: string; args?: Record<string, unknown> };
|
||||
};
|
||||
expect(payload.stream).toBe("tool");
|
||||
expect(payload.data).toMatchObject({
|
||||
expect(payload.data).toEqual({
|
||||
phase: "start",
|
||||
name: "exec",
|
||||
toolCallId: "tool-search-node-1",
|
||||
bridgeToolName: "tool_search_code",
|
||||
bridgeTargetToolName: "openclaw:core:exec",
|
||||
bridgeVerb: "call",
|
||||
|
||||
Reference in New Issue
Block a user