mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-29 10:43:34 +00:00
Make model presets a single global collection and treat presets as reusable setups (main, utility, embedding). Persisted scope configs now store only a preset name (Default is always present and immutable); project-scoped preset definitions were removed and attempts to edit/reset project presets are rejected. Add embedding-model support throughout: include embedding slot in presets, surface embedding in the switcher and override APIs, and notify extensions when the effective embedding model changes. Implement rename/retire propagation to update plugin configs, saved chats, and live AgentContext objects when preset names change or presets are removed. Update CLI/integration commands to use an "inherit" action for returning to the scoped preset and to report the effective scoped-or-chat preset. Add startup migration/bootstrap to initialize presets from remote or bundled fallback and numerous docs/UI text updates to reflect the new preset model. Extra: refactor config resolution helpers and add safety checks (validation, atomic writes) when saving presets.
54 lines
1 KiB
YAML
54 lines
1 KiB
YAML
- name: Default
|
|
chat:
|
|
provider: openrouter
|
|
name: openai/gpt-5.6-terra
|
|
api_base: ""
|
|
ctx_length: 200000
|
|
ctx_history: 0.7
|
|
vision: true
|
|
max_embeds: 10
|
|
rl_requests: 0
|
|
rl_input: 0
|
|
rl_output: 0
|
|
kwargs: {}
|
|
utility:
|
|
provider: openrouter
|
|
name: google/gemini-3.1-flash-lite
|
|
api_base: ""
|
|
ctx_length: 128000
|
|
ctx_input: 0.7
|
|
rl_requests: 0
|
|
rl_input: 0
|
|
rl_output: 0
|
|
kwargs: {}
|
|
embedding:
|
|
provider: huggingface
|
|
name: sentence-transformers/all-MiniLM-L6-v2
|
|
api_base: ""
|
|
rl_requests: 0
|
|
rl_input: 0
|
|
kwargs: {}
|
|
|
|
- name: Efficiency
|
|
chat:
|
|
provider: openrouter
|
|
name: z-ai/glm-5.2
|
|
api_base: ""
|
|
ctx_length: 128000
|
|
ctx_history: 0.7
|
|
vision: false
|
|
utility:
|
|
provider: openrouter
|
|
name: deepseek/deepseek-v4-flash
|
|
|
|
- name: Power
|
|
chat:
|
|
provider: openrouter
|
|
name: openai/gpt-5.6-sol
|
|
api_base: ""
|
|
ctx_length: 200000
|
|
ctx_history: 0.7
|
|
vision: true
|
|
utility:
|
|
provider: openrouter
|
|
name: openai/gpt-5.6-luna
|