Skip to content

API Error: eager_input_streaming field not permitted #24627

@hyc1005

Description

@hyc1005

Description

Error

Error from provider: 13 request validation errors: Extra inputs are not permitted, field: 'tools[0].eager_input_streaming', value: True; ... (repeated for all 13 tools)

Description

When using opencode, the client sends tool definitions with eager_input_streaming parameter which is not supported by the backend API. This causes the request to fail with validation errors.

Expected Behavior

Tools should be sent without the eager_input_streaming parameter, or the client should check API compatibility.

Plugins

No response

OpenCode version

latest

Steps to reproduce

  1. Use opencode with backend API
  2. Send a message that requires tool use
  3. Error occurs immediately

Screenshot and/or share link

No response

Operating System

win 11

Terminal

No response

Metadata

Metadata

Assignees

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions