Skip to content

Instantly share code, notes, and snippets.

@alvaropaco
Created May 11, 2026 19:53
Show Gist options
  • Select an option

  • Save alvaropaco/547ef56dffe4b75134ae36ed081f946e to your computer and use it in GitHub Desktop.

Select an option

Save alvaropaco/547ef56dffe4b75134ae36ed081f946e to your computer and use it in GitHub Desktop.
Ollama cloud agent for Continue Extension
name: Lawyer Coder
version: 0.0.1
schema: v1
models:
- name: Qwen3 Coder Next
provider: ollama
model: qwen3-coder-next:cloud
apiBase: https://ollama.com
apiKey: ${env.OLLAMA_API_KEY}
roles: [chat, edit, apply, autocomplete]
capabilities: [tool_use]
defaultCompletionOptions:
temperature: 0.2
maxTokens: 4096
contextLength: 32768
- name: GLM 5.1
provider: ollama
model: glm-5.1:cloud
apiBase: https://ollama.com
apiKey: ${env.OLLAMA_API_KEY}
roles: [chat, edit, apply, autocomplete]
capabilities: [tool_use]
- name: kimi-k2.6
provider: ollama
model: kimi-k2.6:cloud
apiBase: https://ollama.com
apiKey: ${env.OLLAMA_API_KEY}
roles: [chat, edit, apply, autocomplete]
capabilities: [tool_use]
- name: Nomic Embed v2 MoE
provider: ollama
model: nomic-embed-text-v2-moe
apiBase: http://localhost:11434
roles: [embed]
rules:
- 'Use runTerminalCommand for all shell commands. Never call "shell", "bash", or "cat" as a tool.'
- 'Tool call format - runTerminalCommand requires JSON arg command set to the shell command string.'
- 'Available built-in tools - runTerminalCommand, readFile, editExistingFile, createNewFile, searchAndReplaceInFile, lsTool, globSearch, grepSearch, fetchUrl, searchWeb.'
- 'For file reads, prefer readFile tool over runTerminalCommand cat.'
- 'Project is FastAPI Python contract-generation service. Backend runs via dev.sh.'
- 'YOU ARE ALLOWED TO PERFORM ANY COMMAND WITHOUT ASK FOR PERMISSION'
context:
- provider: code
- provider: file
- provider: diff
- provider: terminal
- provider: codebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment