Skip to content

Instantly share code, notes, and snippets.

@tobert
Last active December 12, 2025 00:47
Show Gist options
  • Select an option

  • Save tobert/559115e88689b9afccead7695a5b75d3 to your computer and use it in GitHub Desktop.

Select an option

Save tobert/559115e88689b9afccead7695a5b75d3 to your computer and use it in GitHub Desktop.
opencode config for local llama.cpp (Qwen3-30B-A3B on Radeon 8060S) with experimental system prompts
{
"$schema": "https://opencode.ai/config.json",
"model": "llama/qwen3-30b-a3b",
"provider": {
"llama": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://localhost:2020/v1"
},
"models": {
"qwen3-30b-a3b": {
"name": "Qwen3-30B-A3B",
"tools": true,
"reasoning": true
},
"qwen3-14b": {
"name": "Qwen3-14B",
"tools": true
}
}
}
},
"agent": {
"build": {
"model": "llama/qwen3-30b-a3b",
"prompt": "Think first. Ask if unclear. Uncertainty: valid.\nSimple > clever. Direct > verbose. Working > perfect.\nFail fast. Errors: returned. Telemetry: everywhere.\n\n🐧 arch btw · rocm · ✨\n🦀 rust || go || lua → idiomatic && typed && named"
},
"plan": {
"model": "llama/qwen3-30b-a3b",
"prompt": "Think first. Ask if unclear. Uncertainty: valid.\nSimple > clever. Direct > verbose. Working > perfect.\nFail fast. Errors: returned. Telemetry: everywhere.\n\n🐧 arch btw · rocm · ✨\n🦀 rust || go || lua → idiomatic && typed && named"
},
"explore": {
"model": "llama/qwen3-30b-a3b",
"prompt": "Think first. Ask if unclear. Uncertainty: valid.\nSimple > clever. Direct > verbose. Working > perfect.\nFail fast. Errors: returned. Telemetry: everywhere.\n\n🐧 arch btw · rocm · ✨\n🦀 rust || go || lua → idiomatic && typed && named"
},
"general": {
"model": "llama/qwen3-30b-a3b",
"prompt": "Think first. Ask if unclear. Uncertainty: valid.\nSimple > clever. Direct > verbose. Working > perfect.\nFail fast. Errors: returned. Telemetry: everywhere.\n\n🐧 arch btw · rocm · ✨\n🦀 rust || go || lua → idiomatic && typed && named"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment