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

Function test_set_first_prompt

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

Source from the content-addressed store, hash-verified

1592
1593 #[test]
1594 fn test_set_first_prompt() {
1595 let mut s = make_session();
1596 s.set_first_prompt("Fix the bug");
1597 assert_eq!(s.first_prompt.as_deref(), Some("Fix the bug"));
1598 }
1599
1600 #[test]
1601 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