fix
This commit is contained in:
parent
ae328d338e
commit
61cf0aeee2
1 changed files with 3 additions and 1 deletions
|
|
@ -90,7 +90,9 @@ export const BashTool = Tool.define("bash", async () => {
|
||||||
parameters: z.object({
|
parameters: z.object({
|
||||||
command: z.string().describe("The command to execute"),
|
command: z.string().describe("The command to execute"),
|
||||||
timeout: z.number().describe("Optional timeout in milliseconds").optional(),
|
timeout: z.number().describe("Optional timeout in milliseconds").optional(),
|
||||||
workdir: z.string().default(Instance.directory).describe("The working directory to execute the command in"),
|
workdir: z
|
||||||
|
.string()
|
||||||
|
.describe(`The working directory to execute the command in, defaults to ${Instance.directory}`),
|
||||||
description: z
|
description: z
|
||||||
.string()
|
.string()
|
||||||
.describe(
|
.describe(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue