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

Method is_empty

atomic-agent/src/transcript/reasoning.rs:48–56  ·  view source on GitHub ↗

Returns true if the reasoning is essentially empty (no useful content).

(&self)

Source from the content-addressed store, hash-verified

46
47 /// Returns true if the reasoning is essentially empty (no useful content).
48 pub fn is_empty(&self) -> bool {
49 self.intent.is_empty()
50 && self.outcome.is_empty()
51 && self.learnings.repo.is_empty()
52 && self.learnings.code.is_empty()
53 && self.learnings.workflow.is_empty()
54 && self.friction.is_empty()
55 && self.open_items.is_empty()
56 }
57}
58
59impl fmt::Display for TurnReasoning {

Callers 15

set_first_promptMethod · 0.45
validate_session_idFunction · 0.45
is_noopMethod · 0.45
fmtMethod · 0.45
handle_turn_startMethod · 0.45
handle_turn_endMethod · 0.45
ingest_sherpa_traceMethod · 0.45
handle_session_startMethod · 0.45
format_condensedFunction · 0.45

Calls

no outgoing calls

Tested by 1