system platform:Docker + Ubuntu22.04 arm64
model platform:Mindie
model:qwen2.5:14B
the way to install opencode: curl -fsSL https://opencode.ai/install | bash
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://host.docker.internal:19067/v1"
},
"models": {
"qwen2.5:14b": {
"tools": true
}
}
}
}
}
output:
<tool_call>{"name":"write", "arguments": {"filePath":"fast_sort.py", "content": "here is code content"}}</tool_call>
question:tool_call was output as text, tool was not executed.
system platform:Docker + Ubuntu22.04 arm64
model platform:Mindie
model:qwen2.5:14B
the way to install opencode: curl -fsSL https://opencode.ai/install | bash
opencode.json
{ "$schema": "https://opencode.ai/config.json", "provider": { "ollama": { "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "http://host.docker.internal:19067/v1" }, "models": { "qwen2.5:14b": { "tools": true } } } } }output:
<tool_call>{"name":"write", "arguments": {"filePath":"fast_sort.py", "content": "here is code content"}}</tool_call>question:tool_call was output as text, tool was not executed.