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

Method has_prompt

atomic-agent/src/envelope.rs:320–322  ·  view source on GitHub ↗

Returns `true` if a prompt summary is available.

(&self)

Source from the content-addressed store, hash-verified

318
319 /// Returns `true` if a prompt summary is available.
320 pub fn has_prompt(&self) -> bool {
321 self.prompt_summary.as_ref().is_some_and(|s| !s.is_empty())
322 }
323
324 /// Returns `true` if total_turns has been backfilled (session is complete).
325 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