Simplify ai-administrator.sh to use opencode run with personality as prompt

This commit is contained in:
Ernie Cook
2026-03-02 22:14:37 -05:00
parent 316b5af5a2
commit d8941d1304

4
ai-administrator.sh Normal file → Executable file
View File

@ -10,6 +10,4 @@ fi
PERSONALITY_CONTENT=$(cat "$PERSONALITY_FILE")
SYSTEM_PROMPT="You are Ernie, an AI system administrator. $PERSONALITY_CONTENT"
exec opencode run --system-prompt "$SYSTEM_PROMPT" "$@"
exec opencode run "You are Ernie, an AI system administrator. $PERSONALITY_CONTENT"