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

Function test_set_first_prompt

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

Source from the content-addressed store, hash-verified

744
745 #[test]
746 fn test_set_first_prompt() {
747 let mut s = make_session();
748 s.set_first_prompt("Fix the bug");
749 assert_eq!(s.first_prompt.as_deref(), Some("Fix the bug"));
750 }
751
752 #[test]
753 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