MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / inference_set_accepts_no_verify_flag

Function inference_set_accepts_no_verify_flag

crates/openshell-cli/src/main.rs:3481–3503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3479
3480 #[test]
3481 fn inference_set_accepts_no_verify_flag() {
3482 let cli = Cli::try_parse_from([
3483 "openshell",
3484 "inference",
3485 "set",
3486 "--provider",
3487 "openai-dev",
3488 "--model",
3489 "gpt-4.1",
3490 "--no-verify",
3491 ])
3492 .expect("inference set should parse --no-verify");
3493
3494 assert!(matches!(
3495 cli.command,
3496 Some(Commands::Inference {
3497 command: Some(InferenceCommands::Set {
3498 no_verify: true,
3499 ..
3500 })
3501 })
3502 ));
3503 }
3504
3505 #[test]
3506 fn inference_update_accepts_no_verify_flag() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected