fix(core): bound tool structured output
This commit is contained in:
parent
61b7caa0b5
commit
2deaa7786c
17 changed files with 440 additions and 165 deletions
|
|
@ -96,7 +96,7 @@ describe("WebFetchTool registration", () => {
|
|||
expect(yield* settleTool(registry, call({ url, format: "text", timeout: 4 }))).toEqual({
|
||||
result: { type: "text", value: "hello" },
|
||||
output: {
|
||||
structured: { url, contentType: "text/plain", format: "text", output: "hello" },
|
||||
structured: { url, contentType: "text/plain", format: "text", bytes: 5, truncated: false },
|
||||
content: [{ type: "text", text: "hello" }],
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue