opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Support for thought_signature in openai-compatible provider

Open agamble-quora opened this issue 2 days ago • 2 comments

Description

Support was added to @ai-sdk/openai-compatible for retaining and passing thought signatures from extra_content in tool calls:

  • https://github.com/vercel/ai/issues/11590
  • https://github.com/vercel/ai/pull/11745

The version of this package that opencode is using is quite old. I tried upgrading the package and there are other errors.

Can this package be upgraded so that support for tools with thinking models will be supported?

Plugins

No response

OpenCode version

v1.1.19 (git / dev)

Steps to reproduce

Upgrade @ai-sdk/openai-compatible to 2.0.7 or later

Try tool calling with Gemini 3 Pro model using Poe as the provider.

  • openai-compatible provider
  • baseUrl: https://api.poe.com/v1

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

agamble-quora avatar Jan 14 '26 01:01 agamble-quora