mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
fix(tui/tests): refresh snapshots after agent defaults change
This commit is contained in:
@@ -2387,6 +2387,8 @@ impl Config {
|
||||
let command_trimmed = a.command.trim();
|
||||
if command_trimmed.is_empty() {
|
||||
if let Some(spec) = agent_model_spec(&a.name) {
|
||||
// Normalize legacy aliases to canonical slugs and default CLI.
|
||||
a.name = spec.slug.to_string();
|
||||
a.command = spec.cli.to_string();
|
||||
} else {
|
||||
a.command = a.name.clone();
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ expression: closed
|
||||
| |
|
||||
| |
|
||||
|
||||
| Agents Enabled: 9/9 |
|
||||
| Agents Enabled: 10/10 |
|
||||
| + Configure linked agents and default task permissions. |
|
||||
| |
|
||||
| ↑ ↓ Move Enter Open Esc Close ? Help |
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ expression: output
|
||||
| |
|
||||
| |
|
||||
|
||||
| Agents Enabled: 9/9 |
|
||||
| Agents Enabled: 10/10 |
|
||||
| + Configure linked agents and default task permissions. |
|
||||
| |
|
||||
| ↑ ↓ Move Enter Open Esc Close ? Help |
|
||||
|
||||
Reference in New Issue
Block a user