GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ai): support disable_parallel_tool_use and send beta query by rekram1-node · Pull Request #44583 · anomalyco/opencode

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Aug 24, 2026

Copy link
Copy Markdown
Member

Adds disable_parallel_tool_use passthrough for Anthropic Messages and ensures /v1/messages?beta=true is sent.

  • ToolChoice now has disableParallelToolUse?: boolean (packages/ai/src/schema/messages.ts:258) and wire AnthropicToolChoice:205 carries disable_parallel_tool_use. lowerToolChoice:373 spreads it for auto/any/tool (SDK: messages.ts:3429 only those three support it; none intentionally omitted). Defaults remain parallel enabled when not set.

  • Keeps existing defaults (interleaved-thinking + fine-grained-tool-streaming betas via core/plugin/provider/anthropic.ts:15) but now sends ?beta=true via Endpoint.query:1083 to match SDK beta path client.beta.messages.create → /v1/messages?beta=true:122 (messages.ts:97 vs beta/messages.ts:122). No toggling logic changed — just makes the query consistent with the headers we already send.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rekram1-node
fix(ai): support disable_parallel_tool_use and send beta query
6435ef3
@rekram1-node
rekram1-node force-pushed the anthropic-parallel-beta branch from 2ac123f to 6435ef3 Compare August 24, 2026 03:41
@rekram1-node
rekram1-node merged commit 1dee7e0 into v2 Aug 24, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
rekram1-node deleted the anthropic-parallel-beta branch August 24, 2026 03:47
@kitlangton kitlangton mentioned this pull request Aug 28, 2026
test: repair 19 pre-existing V2 test failures #45826
Merged
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
@rekram1-node
fix(ai): support disable_parallel_tool_use and send beta query (anoma…
f87fde7
…lyco#44583)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rekram1-node
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.