()
| 478 | |
| 479 | #[test] |
| 480 | fn test_dispatch_model_show() { |
| 481 | let reg = CommandRegistry::new(); |
| 482 | let ctx = test_ctx(); |
| 483 | let out = reg.dispatch("/model", &ctx).unwrap(); |
| 484 | assert!(out.text.contains("openai/kimi-k2.5")); |
| 485 | assert!(out.action.is_none()); |
| 486 | } |
| 487 | |
| 488 | #[test] |
| 489 | fn test_dispatch_model_switch() { |