fix(tui/tests): refresh snapshots after agent defaults change

This commit is contained in:
James Peter
2025-11-22 12:35:08 +10:00
parent 435b19ceaf
commit d82ab130d6
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -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();
@@ -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 |
@@ -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 |