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

Function test_set_model_info

atomic-agent/src/turn/session.rs:719–724  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

717
718 #[test]
719 fn test_set_model_info() {
720 let mut s = make_session();
721 s.set_model_info("anthropic", "claude-sonnet-4-20250514");
722 assert_eq!(s.agent_vendor, "anthropic");
723 assert_eq!(s.model, "claude-sonnet-4-20250514");
724 }
725
726 // Transcript path
727

Callers

nothing calls this directly

Calls 2

set_model_infoMethod · 0.80
make_sessionFunction · 0.70

Tested by

no test coverage detected