You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for thought_signature in openai-compatible provider #8321
The core issue appears to be that upgrading @ai-sdk/openai-compatible is needed to properly support Gemini 3 models with thought_signature preservation and other recent API requirements.
Feel free to ignore if none of these address your specific case.
I couldn't find any indication of thought_signature attribute in the spec and so I'm curious where do you look it up? thanks!
I'm having the same issue with Gemini Models in the Inference Gateway CLI, the API is basically broken since this attribute was added, I think they could at least make it optional until it's in the spec.
I couldn't find any indication of thought_signature attribute in the spec and so I'm curious where do you look it up? thanks! I'm having the same issue with Gemini Models in the Inference Gateway CLI, the API is basically broken since this attribute was added, I think they could at least make it optional until it's in the spec.
I don't think it is on the OpenAPI, it's very ad hoc.
But it is on the openai-compatible AI SDK package:
I couldn't find any indication of thought_signature attribute in the spec and so I'm curious where do you look it up? thanks! I'm having the same issue with Gemini Models in the Inference Gateway CLI, the API is basically broken since this attribute was added, I think they could at least make it optional until it's in the spec.
I don't think it is on the OpenAPI, it's very ad hoc.
But it is on the openai-compatible AI SDK package:
Activity
github-actions commentedon Jan 14, 2026
This issue might be a duplicate of existing issues. Please check:
thoughtSignaturesupport #4832: [BUG]: Gemini 3 Pro function calling fails - missingthoughtSignaturesupport - This is directly related to thethought_signaturepreservation requirement for Gemini 3 ProThe core issue appears to be that upgrading @ai-sdk/openai-compatible is needed to properly support Gemini 3 models with
thought_signaturepreservation and other recent API requirements.Feel free to ignore if none of these address your specific case.
TaterDoge commentedon Jan 16, 2026
The same problem: thought_signature
edenreich commentedon Jan 22, 2026
lol, why did they have to add thought_signature?
It's not an OpenAI compatible spec, I've looked on the official OpenAI specification it's not even there!
The issue is Googles "compatible" API
renich commentedon Feb 10, 2026
I get this too often while using antigravity's gemini 3 pro models.
requesty-JohnCosta27 commentedon Mar 16, 2026
I'm also facing this issue. The latest
openai-compatiblepackage supports this. I'm wondering if Opencode could update the current package version.edenreich commentedon Mar 17, 2026
@requesty-JohnCosta27
Hey, quick question, I'm curious if you can reference a link to where did you find it compatible, I was looking here:
https://github.com/openai/openai-openapi
Or more specifically here:
https://github.com/openai/openai-openapi/blob/manual_spec/openapi.yaml
I couldn't find any indication of
thought_signatureattribute in the spec and so I'm curious where do you look it up? thanks!I'm having the same issue with Gemini Models in the Inference Gateway CLI, the API is basically broken since this attribute was added, I think they could at least make it optional until it's in the spec.
requesty-JohnCosta27 commentedon Mar 17, 2026
I don't think it is on the OpenAPI, it's very ad hoc.
But it is on the
openai-compatibleAI SDK package:Receiving the
thought_signatureHow
openai-compatibleadapts and forwards thethought_signatureedenreich commentedon Mar 17, 2026
Interesting, got it, I might need to implement it the same way.
github-actions commentedon Jul 6, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.