Simplify ai-administrator.sh to use opencode run with personality as prompt
This commit is contained in:
4
ai-administrator.sh
Normal file → Executable file
4
ai-administrator.sh
Normal file → Executable 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"
|
||||
|
||||
Reference in New Issue
Block a user