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:618–630  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

616
617 #[test]
618 fn test_record_with_ai_assisted() {
619 let record = Record::new()
620 .with_ai_assisted(true)
621 .with_ai_provider("anthropic")
622 .with_ai_model("claude-sonnet-4-20250514");
623
624 assert!(record.ai_assisted);
625 assert_eq!(record.ai_provider, Some("anthropic".to_string()));
626 assert_eq!(
627 record.ai_model,
628 Some("claude-sonnet-4-20250514".to_string())
629 );
630 }
631
632 #[test]
633 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