Description
Example:
Let me search for the fetch method properly:<tool_call>
<function=grep>
<parameter=-A>
10
</parameter>
<parameter=output>
content
</parameter>
<parameter=path>
/home/linsaftw/Downloads/scraper/scraper/fetcher/adaptive.py
</parameter>
<parameter=pattern>
async def fetch
</parameter>
</function>
</tool_call>
Solution A: Instruct the prompt to always add new lines before tool calls.
Solution B: Decode tool calls that do not have new lines before them.
Plugins
None
OpenCode version
1.2.24
Steps to reproduce
It happens randomly when using Step 3.5
Screenshot and/or share link
No response
Operating System
Kubuntu 25.10 (Docker w/debian)
Terminal
Konsole
Description
Example:
Solution A: Instruct the prompt to always add new lines before tool calls.
Solution B: Decode tool calls that do not have new lines before them.
Plugins
None
OpenCode version
1.2.24
Steps to reproduce
It happens randomly when using Step 3.5
Screenshot and/or share link
No response
Operating System
Kubuntu 25.10 (Docker w/debian)
Terminal
Konsole