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

Method pop

core/src/llm/structured_tests.rs:1491–1497  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1489 }
1490
1491 fn pop(&self) -> anyhow::Result<LlmResponse> {
1492 let mut responses = self.responses.lock().unwrap();
1493 if responses.is_empty() {
1494 anyhow::bail!("No more mock responses");
1495 }
1496 Ok(responses.remove(0))
1497 }
1498}
1499
1500#[async_trait]

Callers 11

completeMethod · 0.80
complete_structuredMethod · 0.80
try_parse_partial_jsonFunction · 0.80
normalize_relative_pathFunction · 0.80
setUpMethod · 0.80
tearDownMethod · 0.80
tearDownMethod · 0.80

Calls 2

removeMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected