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: Each tool_use block must have a corresponding tool_result block in the next message by i-m-sid · Pull Request #3243 · anomalyco/opencode Conversation…in the next message
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
i-m-sid
marked this pull request as draft
i-m-sid
marked this pull request as ready for review
|
There was an error while loading. Please reload this page.
|
so the api returns them in an invalid order to send back to api? Hmm are you sure this isnt a bug with pruning tool calls on the opencode side? I need to look into that api thing but i havent heard that before, Im not saying you are wrong but could you reference the documentation for that here? ill also look into it tho |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
ahh i just found: anthropics/claude-code#473 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@rekram1-node so what do you think? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@i-m-sid let me read over the code and test it i wish i had a session to read to verify that isnt anything we can solve for in simplier fashion |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sure, will see if I can find a session to test |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I wasn't able to find any session. We use forked version of opencode in our platform ideavo.ai , and we made this fix more than a month ago. We haven't received the Bad Request issue after that point, which implies it's working. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@i-m-sid I managed to get a session of it, someone sent it to me. It is so funny this is actually still an issue in claude code, but yeah your solution makes sense. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
772b621 to
eb855e1
Compare
f1dc981 to
3e15a39
Compare
f8ee907 to
6a9856d
Compare
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
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.
There was an error while loading. Please reload this page.