mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-11-01 03:10:57 +00:00
Remove the running-context guard from the agent profile endpoint and the switcher so a profile can be changed during an active monologue, matching chat model-preset overrides. Enable the switcher dropdown items while running by dropping the running gate from their disabled state; only the saving gate remains. The new profile applies to subsequent model turns and intentionally forfeits the prompt cache. Subordinate agents keep their own profile configs. Validation: 73 subagent profile tests passed including a new endpoint test that switches the profile while a real task is running; static regression tests guard against reintroducing the running guard in the endpoint, switcher mixin, and dropdown markup; node --check passed on the switcher mixin. |
||
|---|---|---|
| .. | ||
| apply_snapshot_before | ||
| chat-input-progress-start | ||
| open_modal_before | ||