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 — `google-vertex-anthropic` rejects `eager_input_streaming` on tool definitions — same as #23342 · Issue #24562 · anomalyco/opencode

google-vertex-anthropic rejects eager_input_streaming on tool definitions — same as #23342 #24562

New issue
Copy link
New issue
Copy link
Closed
#24573
Closed
google-vertex-anthropic rejects eager_input_streaming on tool definitions — same as #23342#24562
#24573
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Description

@putz612
putz612
opened on Apr 27, 2026
Issue body actions

Description

google-vertex-anthropic provider fails with tools.0.custom.eager_input_streaming: Extra inputs are not permitted on every request that includes tools. This is the same root cause as #23342 (fixed for github-copilot in #23223), but the fix was not applied to the Vertex Anthropic provider.

Root Cause

@ai-sdk/[email protected] (bumped in #23120 on April 17) sends eager_input_streaming: true on every tool definition by default. The Google Vertex Anthropic proxy rejects this field the same way GitHub Copilot's proxy does.
The fix in #23223 sets output.options.toolStreaming = false, but only for the github-copilot plugin (packages/opencode/src/plugin/github-copilot/copilot.ts). The google-vertex-anthropic provider has no equivalent handling.

Suggested Fix

Apply toolStreaming = false for google-vertex-anthropic in the provider transform layer (packages/opencode/src/provider/transform.ts), similar to the Copilot fix:

if (model.providerID === "google-vertex-anthropic") {
  output.options.toolStreaming = false
}

Related Issues

  • 1.4.10 breaks Haiku through GitHub Copilot #23342 — Same error for github-copilot (fixed in fix: gh copilot issue w/ haiku (eager_input_streaming not supported) #23223)
  • fix: gh copilot issue w/ haiku (eager_input_streaming not supported) #23223 — PR that fixed it for Copilot only

Plugins

No response

OpenCode version

1.14.25

Steps to reproduce

  1. Configure OpenCode with google-vertex-anthropic provider (e.g., google-vertex-anthropic/claude-opus-4-6)
  2. Send any message that triggers tool use
  3. Every request fails immediately with:
AI_APICallError: tools.0.custom.eager_input_streaming: Extra inputs are not permitted
    at <anonymous> (/$bunfs/root/chunk-md0rk14k.js:6:14583)

Screenshot and/or share link

No response

Operating System

macOS 26.4.1

Terminal

Ghostty

Activity

  1. putz612
    added
    bugSomething isn't working
    on Apr 27, 2026
  2. github-actions
    assigned
    rekram1-node
    on Apr 27, 2026
  3. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 27, 2026
  4. rekram1-node commented on Apr 27, 2026

    @rekram1-node
    rekram1-node
    on Apr 27, 2026
    Member
    More actions

    Made a PR, for now you can do this:

    "provider": {
        "google-vertex-anthropic": {
          "models": {
            "claude-opus-4-6": {
              "options": {
                "toolStreaming": false,
              },
            },
        },
      },
    

    You can pass that option for each model u wanna disable it for

  5. rekram1-node
    closed this as completedin #24573on Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.