jovanwongzixi
jovanwongzixi
This issue is due to the LLM endpoint returning an empty thinking block that is not parsed correctly in the `extractReasoningMiddleware` function in the Vercel AI module. I have submitted...
Update: The PR has been approved and included in the latest release of the ai SDK ([v6.0.64](https://github.com/vercel/ai/releases/tag/[email protected])). However, opencode is using v5.0.124 at the time of writing, and based on...
> Interesting! Something has changed with Opencode 1.1.48. I noticed that the ai-sdk library version was bumped to the latest v5 version, so maybe [@jovanwongzixi](https://github.com/jovanwongzixi)'s fix was backported to v5?...