Skip to content

Instantly share code, notes, and snippets.

@heywoodlh
Created August 25, 2025 15:36
Show Gist options
  • Save heywoodlh/170f79f8ff100b312c43a154dc0cb7fd to your computer and use it in GitHub Desktop.
Save heywoodlh/170f79f8ff100b312c43a154dc0cb7fd to your computer and use it in GitHub Desktop.
OpenCode configuration file
{
"$schema": "https://opencode.ai/config.json",
"model": "ollama/mistral:7b",
"provider": {
"ollama": {
"models": {
"deepseek-coder:6.7b": {
"name": "deepseek-coder"
},
"llama3:8b": {
"name": "llama3"
},
"mistral:7b": {
"name": "mistral"
}
},
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://ollama-host:11434/v1"
}
}
},
"theme": "nord"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment