refactor(tools): unify tool APIs and result handling (#38367)
This commit is contained in:
parent
8cac010bac
commit
79c1544072
133 changed files with 3602 additions and 2770 deletions
|
|
@ -127,7 +127,7 @@ test("decodes the simulated tool lifecycle", () => {
|
|||
params: {
|
||||
id: "tool_1",
|
||||
sequence: 0,
|
||||
update: { structured: { phase: "searching" }, content: [{ type: "text", text: "Searching" }] },
|
||||
update: { phase: "searching" },
|
||||
},
|
||||
}),
|
||||
).toMatchObject({ method: "tool.update" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue