MCPcopy Index your code
hub / github.com/AI45Lab/Code / is_empty

Method is_empty

core/src/prompts.rs:545–551  ·  view source on GitHub ↗

Returns true if all slots are empty (use pure default prompt).

(&self)

Source from the content-addressed store, hash-verified

543
544 /// Returns true if all slots are empty (use pure default prompt).
545 pub fn is_empty(&self) -> bool {
546 self.style.is_none()
547 && self.role.is_none()
548 && self.guidelines.is_none()
549 && self.response_style.is_none()
550 && self.extra.is_none()
551 }
552
553 /// Set the agent style explicitly.
554 pub fn with_style(mut self, style: AgentStyle) -> Self {

Callers 15

check_from_executionMethod · 0.45
node_verification_presetFunction · 0.45
derive_statusMethod · 0.45
from_reportsMethod · 0.45
next_idMethod · 0.45
is_validMethod · 0.45
is_program_identifierFunction · 0.45
template_placeholdersFunction · 0.45

Calls

no outgoing calls

Tested by 2

env_requiredFunction · 0.36
list_dirMethod · 0.36