mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-29 18:53:35 +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. |
||
|---|---|---|
| .. | ||
| _functions | ||
| agent_init | ||
| banners | ||
| before_main_llm_call | ||
| error_format | ||
| hist_add_before | ||
| hist_add_tool_result | ||
| job_loop | ||
| message_loop_end | ||
| message_loop_prompts_after | ||
| message_loop_prompts_before | ||
| message_loop_start | ||
| monologue_end | ||
| monologue_start | ||
| process_chain_end | ||
| reasoning_stream | ||
| reasoning_stream_chunk | ||
| reasoning_stream_end | ||
| response_stream | ||
| response_stream_chunk | ||
| response_stream_end | ||
| startup_migration | ||
| system_prompt | ||
| tool_execute_after | ||
| tool_execute_before | ||
| user_message_ui | ||
| util_model_call_before | ||
| webui_ws_connect | ||
| webui_ws_disconnect | ||
| webui_ws_event | ||
| .gitkeep | ||
| AGENTS.md | ||