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 — "tools" entry sent to model without tools capability · Issue #61843 · anomalyco/opencode Closed as duplicate Labels DescriptionDescriptionVersion: 2.2.5 Description:I have a reasoning model without tools capability running on a local ollama server. Even if "tools": false is explicitly stated in the opencode.jsonc config opencode still sends a request to the model api with a "tools" field specified, resulting in an error response. The opencode cli states the error and nothing happens. But Ollama is spinning up the model nevertheless, the result just never reaches opencode. In opencode.jsoncprovider.models: "olmo-3.1:32b-think": { "name": "Olmo 3.1 32B Think", "capabilities": { "tools": false, "input": ["text"], "output": ["text"], } } agents.test: "test": { "permissions": [ { "action": "*", "resource": "*", "effect": "deny" }, ] } Test Agent:--- description: Test agent mode: primary model: ollama/olmo-3.1:32b-think permission: "*": deny --- You are a test agent just respond with OK Request sent to Ollama server:{
"model": "olmo-3.1:32b-think",
"messages": [
{
"role": "system",
"content": "You are a test agent just respond with OK\n# Your Model\n- Name: Olmo 3.1 32B Think\n- Provider ID: ollama\n- Model ID: olmo-3.1:32b-think\nToday's date: Thu Nov 05 2026\n\nHere is some useful information about the environment you are running in:\n<env>\n Working directory: /home/user/foo\n Workspace root folder: /home/user\n Is directory a git repo: no\n Platform: linux\n Prefer /tmp/opencode over generic system temporary directories such as /tmp; it is pre-created and approved for external access.\n</env>\nWhen you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."
},
{
"role": "user",
"content": "Say Hi"
}
],
"tools": [
{
"type": "function",
"function": {
"name": "skill",
"description": "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.\n\nThe skill ID must match an available skill or a skill explicitly referenced by the user.",
"parameters": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of an available skill or a skill explicitly referenced by the user"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"strict": false
}
}
],
"stream": true,
"stream_options": {
"include_usage": true
},
"max_completion_tokens": 32000
}Response from ollama: {
"error": {
"message": "registry.ollama.ai/library/olmo-3.1:32b-think does not support tools",
"type": "invalid_request_error",
"param": null,
"code": null
}
}Context:I've made an update to v.2.2.5 jumping a weeks worth of versions. Unfortunately I dont know exactly on which version I was on before, but there it worked fine. PluginsNo response OpenCode versionNo response Steps to reproduceNo response ScreenshotNo response Operating SystemNo response TerminalNo response Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |