MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_record_with_ai_assisted

Function test_record_with_ai_assisted

atomic-cli/src/commands/record/tests.rs:642–654  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

640
641 #[test]
642 fn test_record_with_ai_assisted() {
643 let record = Record::new()
644 .with_ai_assisted(true)
645 .with_ai_provider("anthropic")
646 .with_ai_model("claude-sonnet-4-20250514");
647
648 assert!(record.ai_assisted);
649 assert_eq!(record.ai_provider, Some("anthropic".to_string()));
650 assert_eq!(
651 record.ai_model,
652 Some("claude-sonnet-4-20250514".to_string())
653 );
654 }
655
656 #[test]
657 fn test_record_ai_flags_default() {

Callers

nothing calls this directly

Calls 3

with_ai_modelMethod · 0.80
with_ai_providerMethod · 0.80
with_ai_assistedMethod · 0.80

Tested by

no test coverage detected