Skip to content

Commit 36f5ba5

Browse files
authored
fix(batch): update batch tool definition to outline correct value for max tool calls (anomalyco#9517)
1 parent 088b537 commit 36f5ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opencode/src/tool/batch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Payload Format (JSON array):
66
[{"tool": "read", "parameters": {"filePath": "src/index.ts", "limit": 350}},{"tool": "grep", "parameters": {"pattern": "Session\\.updatePart", "include": "src/**/*.ts"}},{"tool": "bash", "parameters": {"command": "git status", "description": "Shows working tree status"}}]
77

88
Notes:
9-
- 1–20 tool calls per batch
9+
- 1–25 tool calls per batch
1010
- All calls start in parallel; ordering NOT guaranteed
1111
- Partial failures do not stop other tool calls
1212
- Do NOT use the batch tool within another batch tool.

0 commit comments

Comments
 (0)