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

Function test_set_first_prompt

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

Source from the content-addressed store, hash-verified

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