MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_dispatch_model_show

Function test_dispatch_model_show

core/src/commands.rs:480–486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

test_ctxFunction · 0.85
dispatchMethod · 0.45

Tested by

no test coverage detected