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

Function turn_start_event

atomic-agent/src/turn/orchestrator/tests.rs:30–32  ·  view source on GitHub ↗
(session_id: &str, prompt: &str)

Source from the content-addressed store, hash-verified

28}
29
30fn turn_start_event(session_id: &str, prompt: &str) -> TurnEvent {
31 TurnEvent::new(session_id, HookType::TurnStart).with_prompt(prompt)
32}
33
34fn turn_end_event(session_id: &str) -> TurnEvent {
35 TurnEvent::new(session_id, HookType::TurnEnd)

Calls 1

with_promptMethod · 0.80

Tested by

no test coverage detected