mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-19 07:59:34 +00:00
default models, skills cleanup
This commit is contained in:
parent
34dc30171e
commit
f8048c5e69
2 changed files with 16 additions and 26 deletions
|
|
@ -490,7 +490,7 @@ def get_default_settings() -> Settings:
|
|||
return Settings(
|
||||
version=_get_version(),
|
||||
chat_model_provider=get_default_value("chat_model_provider", "openrouter"),
|
||||
chat_model_name=get_default_value("chat_model_name", "openai/gpt-5.2-chat"),
|
||||
chat_model_name=get_default_value("chat_model_name", "moonshotai/kimi-k2.5"),
|
||||
chat_model_api_base=get_default_value("chat_model_api_base", ""),
|
||||
chat_model_kwargs=get_default_value("chat_model_kwargs", {"temperature": "0"}),
|
||||
chat_model_ctx_length=get_default_value("chat_model_ctx_length", 100000),
|
||||
|
|
@ -500,7 +500,7 @@ def get_default_settings() -> Settings:
|
|||
chat_model_rl_input=get_default_value("chat_model_rl_input", 0),
|
||||
chat_model_rl_output=get_default_value("chat_model_rl_output", 0),
|
||||
util_model_provider=get_default_value("util_model_provider", "openrouter"),
|
||||
util_model_name=get_default_value("util_model_name", "google/gemini-3-flash-preview"),
|
||||
util_model_name=get_default_value("util_model_name", "z-ai/glm-4.7-flash"),
|
||||
util_model_api_base=get_default_value("util_model_api_base", ""),
|
||||
util_model_ctx_length=get_default_value("util_model_ctx_length", 100000),
|
||||
util_model_ctx_input=get_default_value("util_model_ctx_input", 0.7),
|
||||
|
|
|
|||
|
|
@ -67,16 +67,15 @@ Your skill instructions go here...
|
|||
|
||||
```
|
||||
/a0/usr/skills/
|
||||
└── custom/
|
||||
└── my-skill/
|
||||
├── SKILL.md # Required: Main skill file
|
||||
├── scripts/ # Optional: Helper scripts
|
||||
│ ├── helper.py
|
||||
│ └── process.sh
|
||||
├── templates/ # Optional: Templates
|
||||
│ └── output.md
|
||||
└── docs/ # Optional: Additional docs
|
||||
└── examples.md
|
||||
└── my-skill/
|
||||
├── SKILL.md # Required: Main skill file
|
||||
├── scripts/ # Optional: Helper scripts
|
||||
│ ├── helper.py
|
||||
│ └── process.sh
|
||||
├── templates/ # Optional: Templates
|
||||
│ └── output.md
|
||||
└── docs/ # Optional: Additional docs
|
||||
└── examples.md
|
||||
```
|
||||
|
||||
## Writing Good Skill Instructions
|
||||
|
|
@ -172,7 +171,7 @@ If your skill needs scripts or templates:
|
|||
|
||||
```bash
|
||||
# Create directory structure
|
||||
mkdir -p usr/skills/my-skill/{scripts,templates,docs}
|
||||
mkdir -p /a0/usr/skills/my-skill/{scripts,templates,docs}
|
||||
```
|
||||
|
||||
## Example: Complete Skill
|
||||
|
|
@ -258,12 +257,12 @@ print(f"Took {elapsed:.4f} seconds")
|
|||
|
||||
1. Create skill directory:
|
||||
```bash
|
||||
mkdir -p usr/skills/my-skill
|
||||
mkdir -p /a0/usr/skills/my-skill
|
||||
```
|
||||
|
||||
2. Create SKILL.md:
|
||||
```bash
|
||||
touch usr/skills/my-skill/SKILL.md
|
||||
touch /a0/usr/skills/my-skill/SKILL.md
|
||||
```
|
||||
|
||||
3. Add content and save
|
||||
|
|
@ -277,7 +276,7 @@ To share skills with others:
|
|||
1. Create a GitHub repository
|
||||
2. Include the skill directory structure
|
||||
3. Add a README with installation instructions
|
||||
4. Users can copy to their `usr/skills/` directory
|
||||
4. Users can copy to their `/a0/usr/skills/` directory
|
||||
|
||||
## Testing Your Skill
|
||||
|
||||
|
|
@ -286,13 +285,4 @@ After creating a skill:
|
|||
1. Start a new conversation
|
||||
2. Use one of your trigger patterns
|
||||
3. Verify the agent follows your instructions
|
||||
4. Iterate and improve based on results
|
||||
|
||||
## Need Help?
|
||||
|
||||
Use this skill by saying:
|
||||
- "Help me create a new skill for [purpose]"
|
||||
- "I want to create a skill that [does something]"
|
||||
- "Create a skill wizard for [task]"
|
||||
|
||||
I'll guide you through each step!
|
||||
4. Iterate and improve based on results
|
||||
Loading…
Add table
Add a link
Reference in a new issue