Compare commits

...

5 Commits

3 changed files with 32 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
---
description: Commit currently staged code in git
mode: all
model: AquaAI/gpt-oss:20b
temperature: 0.1
tools:
write: false
edit: false
bash: true
---
You are in commit code mode. Focus on:
- Writing a clear and simple commit message.
- Follow the project formatting for commits.
- Only commit files that are currently staged in git.
- Never add files to the staging.
Use the following command to look at the changes:
```sh
git diff --cached
```

View File

@@ -3,14 +3,14 @@
"$schema": "https://opencode.ai/config.json",
"share": "disabled",
"provider": {
"ollama": {
"AquaAI": {
"npm": "@ai-sdk/openai-compatible",
"name": "AquaAI",
"options": {
"baseURL": "https://ollama.aquamorph.com/v1"
},
"models": {
"gpt-oss:20b": {
"hf.co/unsloth/gpt-oss-20b-GGUF:Q4_K_M": {
"name": "GPT OSS 20b"
},
"gpt-oss:120b": {
@@ -19,7 +19,10 @@
"hf.co/unsloth/Qwen3-4B-Instruct-2507-GGUF:Q3_K_M": {
"name": "Qwen3 4b"
},
"qwen3-coder-next:latest": {
"glm-4.7-flash": {
"name": "GLM 4.7 Flash"
},
"qwen3-coder-next": {
"name": "Qwen3 Coder Next"
}
}

View File

@@ -43,7 +43,10 @@ alias h='cd ~/git/cacolglazier.com/ && hugo server'
# OpenCode
export PATH="$HOME/.opencode/bin:$PATH"
alias o='opencode'
OPENCODE='opencode'
alias o="${OPENCODE}"
alias oc="${OPENCODE} --agent commit run 'Create a commit.'"
# Git
alias c='git commit -m'