chore(zsh): use configured model for commit agent

This commit is contained in:
2026-10-11 12:31:28 -04:00
parent 8fb6eb5f82
commit 021dcf7010
+1 -1
View File
@@ -54,7 +54,7 @@ alias h='cd ~/git/cacolglazier.com/ && hugo server'
export PATH="$HOME/.opencode/bin:$PATH" export PATH="$HOME/.opencode/bin:$PATH"
OPENCODE='opencode' OPENCODE='opencode'
alias o="${OPENCODE}" alias o="${OPENCODE}"
alias oc="${OPENCODE} run --agent commit 'Create a commit.'" alias oc="${OPENCODE} run --agent commit --model '{{ includeTemplate ".chezmoitemplates/models/small-brain" | trim }}' 'Create a commit.'"
alias ocr="${OPENCODE} --agent review --prompt 'Code review staged changes.'" alias ocr="${OPENCODE} --agent review --prompt 'Code review staged changes.'"
alias or="${OPENCODE} --continue" alias or="${OPENCODE} --continue"