opencode icon indicating copy to clipboard operation
opencode copied to clipboard

it run with olllama

Open kmnnmk212-source opened this issue 1 week ago • 3 comments

https://github.com/anomalyco/opencode/releases/download/v1.1.1/opencode-linux-x64-baseline.tar.gz

/home/m/Desktop/opencode/opencode-linux-x64-baseline

chmod +x opencode ./opencode

mkdir -p ~/.config/opencode nano ~/.config/opencode/opencode.json

{ "$schema": "https://opencode.ai/config.json", "provider": { "ollama": { "npm": "@ai-sdk/openai-compatible", "name": "Ollama (local)", "options": { "baseURL": "http://localhost:11434/v1" }, "models": { "gpt-oss:20b": { "name": "gpt-oss 20B (local)" } } } }, "model": "ollama/gpt-oss:20b" }

cotl+o enter cotl_x

kmnnmk212-source avatar Jan 04 '26 22:01 kmnnmk212-source