GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — fix: treat "other" as a continue stop reason by kkugot · Pull Request #20467 · anomalyco/opencode Conversation
|
|
The following comment was made by an LLM, it may be inaccurate: Potential Related PRs Found:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
df65986 to
bf4dbc9
Compare
5d6eef9 to
49cc60e
Compare
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
8c1272b to
36d92e3
Compare
a060a89 to
4e4878b
Compare
|
I am keeping this branch up-to date with dev, would be thankful if this can be merged. engineers using Oracle Code Assist could not use opencode with Open AI models with responses API because of this bug. This is since version 1.3.4 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@kkugot let me look over this |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Im not sure this is accurate |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
cb401dc to
c2caf33
Compare
There was an error while loading. Please reload this page.
6ea89bd to
d0971aa
Compare
Ready for your review |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Alr thanks, ill double check this logic tmr I just need to make sure failure cases dont infinitely loop from this (its almost 1am here rn so too late for me to merge if im not 100% confident) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@rekram1-node no pressure here, if I can help with tesing this - let me know. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
03c4e62 to
8dc2a25
Compare
|
@rekram1-node I have checked with the recent code changes on dev and we are able to reproduce this issue only when any of the MCPs are enabled. With the proposed fix everything works correctly. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi @rekram1-node any idea when this will be merged? This is driving people out of OpenCode tool due to this issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
8dc2a25 to
f54a21b
Compare
|
/review |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
f54a21b to
1d793dc
Compare
43b7797 to
32d5a37
Compare
|
This was tested and works? Im just noticing that the only test seems to assert other as a stop reason to stop rather than continue which i would have assumed was not ur intent? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Our provider emits OpenAI Responses-style structural completion events, but not enough SDK-friendly finish classification for opencode’s current parser. OpenAI Responses itself does not require finish_reason; the client must derive a finish classification from the event stream. The change in this PR works because it treats the unmapped completed function-call step as "other" instead of leaving it undefined. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
To the OCA users of opencode: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
chackour bank user
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Blank assistant text with AI SDK v6 and MCP on: finish-reason regression when using responses api with @ai-sdk/openai
There was an error while loading. Please reload this page.