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

Method is_empty

core/src/context/mod.rs:345–347  ·  view source on GitHub ↗

Check if the result is empty

(&self)

Source from the content-addressed store, hash-verified

343
344 /// Check if the result is empty
345 pub fn is_empty(&self) -> bool {
346 self.items.is_empty()
347 }
348
349 /// Format all items as XML for system prompt injection
350 pub fn to_xml(&self) -> String {

Callers 15

build_requestMethod · 0.45
send_streamingMethod · 0.45
reasoning_responseMethod · 0.45
completeMethod · 0.45
complete_streamingMethod · 0.45
popMethod · 0.45
parse_tool_argumentsMethod · 0.45
merge_stream_textMethod · 0.45
convert_messagesMethod · 0.45
build_chat_requestMethod · 0.45
send_requestMethod · 0.45

Calls

no outgoing calls

Tested by 7

reasoning_responseMethod · 0.36
completeMethod · 0.36
complete_streamingMethod · 0.36
popMethod · 0.36
list_dirMethod · 0.36
completeMethod · 0.36
complete_streamingMethod · 0.36