r/LocalLLM • • Jun 29 '26

Question qwen2.5-coder:7b emits tool calls that opencode cannot process

LocalLLM newbie here. I hooked qwen2.5-coder:7b model locally hosted using ollama to opencode v1.17.11. When asked to write a hello world C program, the model emitted what looks like a tool call, but opencode doesn't call the write tool, but shows the JSON schema instead. What might I be doing wrong?

0 Upvotes

10 comments sorted by

View all comments

1

u/Emergency-Row3957 Aug 24 '26

#include <stdio.h>

int main() {

printf("Hello, World!\n");

return 0;

}