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

Function test_set_first_prompt

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

Source from the content-addressed store, hash-verified

772
773 #[test]
774 fn test_set_first_prompt() {
775 let mut s = make_session();
776 s.set_first_prompt("Fix the bug");
777 assert_eq!(s.first_prompt.as_deref(), Some("Fix the bug"));
778 }
779
780 #[test]
781 fn test_set_first_prompt_no_overwrite() {

Callers

nothing calls this directly

Calls 2

set_first_promptMethod · 0.80
make_sessionFunction · 0.70

Tested by

no test coverage detected