diff --git a/.changeset/server-tool-call-limit.md b/.changeset/server-tool-call-limit.md new file mode 100644 index 0000000000..3bef123c01 --- /dev/null +++ b/.changeset/server-tool-call-limit.md @@ -0,0 +1,5 @@ +--- +"@openuidev/server": patch +--- + +Dashboard scripts can make more tool calls per run. diff --git a/packages/server/src/tools/execute.ts b/packages/server/src/tools/execute.ts index 4968150f7c..d55c0c4ce2 100644 --- a/packages/server/src/tools/execute.ts +++ b/packages/server/src/tools/execute.ts @@ -17,8 +17,9 @@ import { type ToolHandler, } from "./types"; +// Rounds of calls a script run may wait on. Only this package counts them. const MAX_ROUNDS = 8; -const MAX_TOOL_CALLS = 16; +const MAX_TOOL_CALLS = 256; const DEFAULT_TIMEOUT_MS = 60_000; function invalidResponse(): never {