Skip to content

Conversation

@jamesmengo
Copy link
Contributor

@jamesmengo jamesmengo commented Jan 19, 2026

Fixes #9519

What does this PR do?

Tiny fix to keep batch tool documentation consistent with the code.

#9275 increased the batch tool's max limit from 10 to 25 in batch.ts, but the documentation in batch.txt incorrectly says "1–20" instead of "1–25".

const toolCalls = params.tool_calls.slice(0, 25)
const discardedCalls = params.tool_calls.slice(25)

How did you verify your code works?

Docs update.

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@jamesmengo jamesmengo changed the title fix(batch): correct max tool calls in docs from 20 to 25 fix(batch): update batch tool definition to outline correct value for max tool calls Jan 19, 2026
@jamesmengo jamesmengo marked this pull request as ready for review January 19, 2026 23:34
@rekram1-node rekram1-node merged commit 36f5ba5 into anomalyco:dev Jan 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch tool documentation shows incorrect max limit (20 vs 25)

2 participants