MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / is_peer_error

Method is_peer_error

core/peer_cli.py:266–268  ·  view source on GitHub ↗

Return True if the output is a [PEER_ERROR: ...] sentinel.

(output: str)

Source from the content-addressed store, hash-verified

264
265 @staticmethod
266 def is_peer_error(output: str) -> bool:
267 """Return True if the output is a [PEER_ERROR: ...] sentinel."""
268 return bool(output and output.startswith("[PEER_ERROR:"))
269
270 def summarize_result(self, cli_name: str, output: str, original_task: str) -> str:
271 """Package the peer CLI output for injection into Codey's context."""

Callers 3

summarize_resultMethod · 0.95
handle_commandFunction · 0.80
run_agentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected