mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2026-03-02 07:19:59 +00:00
Compare commits
5 Commits
d624a55769
...
55f99a40d7
| Author | SHA1 | Date | |
|---|---|---|---|
| 55f99a40d7 | |||
| e0be3d5684 | |||
| 07e96633cc | |||
| c9c93f30fb | |||
| bf34de3dc6 |
22
home/dot_config/opencode/agents/commit.md
Normal file
22
home/dot_config/opencode/agents/commit.md
Normal 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
|
||||||
|
```
|
||||||
@@ -3,14 +3,14 @@
|
|||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
"share": "disabled",
|
"share": "disabled",
|
||||||
"provider": {
|
"provider": {
|
||||||
"ollama": {
|
"AquaAI": {
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
"name": "AquaAI",
|
"name": "AquaAI",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "https://ollama.aquamorph.com/v1"
|
"baseURL": "https://ollama.aquamorph.com/v1"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"gpt-oss:20b": {
|
"hf.co/unsloth/gpt-oss-20b-GGUF:Q4_K_M": {
|
||||||
"name": "GPT OSS 20b"
|
"name": "GPT OSS 20b"
|
||||||
},
|
},
|
||||||
"gpt-oss:120b": {
|
"gpt-oss:120b": {
|
||||||
@@ -19,7 +19,10 @@
|
|||||||
"hf.co/unsloth/Qwen3-4B-Instruct-2507-GGUF:Q3_K_M": {
|
"hf.co/unsloth/Qwen3-4B-Instruct-2507-GGUF:Q3_K_M": {
|
||||||
"name": "Qwen3 4b"
|
"name": "Qwen3 4b"
|
||||||
},
|
},
|
||||||
"qwen3-coder-next:latest": {
|
"glm-4.7-flash": {
|
||||||
|
"name": "GLM 4.7 Flash"
|
||||||
|
},
|
||||||
|
"qwen3-coder-next": {
|
||||||
"name": "Qwen3 Coder Next"
|
"name": "Qwen3 Coder Next"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,10 @@ alias h='cd ~/git/cacolglazier.com/ && hugo server'
|
|||||||
|
|
||||||
# OpenCode
|
# OpenCode
|
||||||
export PATH="$HOME/.opencode/bin:$PATH"
|
export PATH="$HOME/.opencode/bin:$PATH"
|
||||||
alias o='opencode'
|
OPENCODE='opencode'
|
||||||
|
alias o="${OPENCODE}"
|
||||||
|
alias oc="${OPENCODE} --agent commit run 'Create a commit.'"
|
||||||
|
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
alias c='git commit -m'
|
alias c='git commit -m'
|
||||||
|
|||||||
Reference in New Issue
Block a user