test(core): align browser tool schemas
This commit is contained in:
parent
6728681757
commit
aaadc40fbc
1 changed files with 2 additions and 2 deletions
|
|
@ -133,10 +133,10 @@ describe("BrowserTool", () => {
|
||||||
).toMatchObject({
|
).toMatchObject({
|
||||||
type: "object",
|
type: "object",
|
||||||
required: ["url"],
|
required: ["url"],
|
||||||
properties: { url: { type: "string", allOf: [{ maxLength: 16_384 }] } },
|
properties: { url: { type: "string", maxLength: 16_384 } },
|
||||||
})
|
})
|
||||||
expect(snapshot.definitions.find((definition) => definition.name === "browser_fill")?.inputSchema).toMatchObject({
|
expect(snapshot.definitions.find((definition) => definition.name === "browser_fill")?.inputSchema).toMatchObject({
|
||||||
properties: { text: { type: "string", allOf: [{ maxLength: 10_000 }] } },
|
properties: { text: { type: "string", maxLength: 10_000 } },
|
||||||
})
|
})
|
||||||
expect(snapshot.definitions.find((definition) => definition.name === "browser_press")?.inputSchema).toMatchObject(
|
expect(snapshot.definitions.find((definition) => definition.name === "browser_press")?.inputSchema).toMatchObject(
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue