Change personality to opencode agent and add interactive mode
This commit is contained in:
23
README.md
23
README.md
@ -4,11 +4,11 @@ The general system behind what you will become soon.
|
||||
|
||||
## Overview
|
||||
|
||||
This repository contains the core system and personality configuration for the AI Administrator assistant.
|
||||
This repository contains the core system and personality configuration for the AI Administrator assistant, powered by OpenCode.
|
||||
|
||||
## Structure
|
||||
|
||||
- `personality.md` - Defines the personality and characteristics of the AI administrator
|
||||
- `.opencode/agents/ernie.md` - Defines the personality and characteristics of the AI administrator
|
||||
- `ai-administrator.sh` - Shell script to run the AI with the configured personality
|
||||
|
||||
## Usage
|
||||
@ -19,4 +19,21 @@ Run the AI Administrator with:
|
||||
./ai-administrator.sh
|
||||
```
|
||||
|
||||
This will launch the AI with the system prompt loaded from `personality.md`.
|
||||
This will launch the AI with the system prompt loaded from the ernie agent configuration.
|
||||
|
||||
### Options
|
||||
|
||||
- **Interactive mode** (default): Opens an interactive chat session
|
||||
```bash
|
||||
./ai-administrator.sh
|
||||
```
|
||||
|
||||
- **Non-interactive mode**: Runs a single command and exits
|
||||
```bash
|
||||
./ai-administrator.sh --non-interactive "your prompt here"
|
||||
```
|
||||
|
||||
- **With prompt argument**: Pass a prompt directly
|
||||
```bash
|
||||
./ai-administrator.sh "your prompt here"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user