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

Method has_prompt

atomic-core/src/change/envelope.rs:339–341  ·  view source on GitHub ↗

Returns `true` if a prompt summary is available.

(&self)

Source from the content-addressed store, hash-verified

337
338 /// Returns `true` if a prompt summary is available.
339 pub fn has_prompt(&self) -> bool {
340 self.prompt_summary.as_ref().is_some_and(|s| !s.is_empty())
341 }
342
343 /// Returns `true` if total_turns has been backfilled (session is complete).
344 pub fn is_session_complete(&self) -> bool {

Callers

nothing calls this directly

Calls 2

as_refMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected