MCPcopy Create free account
hub / github.com/Emmimal/control-layer / _format_constraints

Method _format_constraints

control_layer.py:412–418  ·  view source on GitHub ↗
(self, constraints: List[str])

Source from the content-addressed store, hash-verified

410 return "\n\n".join(parts), budget
411
412 def _format_constraints(self, constraints: List[str]) -> str:
413 if not constraints:
414 return ""
415 lines = ["Constraints (hard requirements, not suggestions):"]
416 for i, c in enumerate(constraints, 1):
417 lines.append(f" {i}. {c}")
418 return "\n".join(lines)
419
420
421# =============================================================================

Callers 1

buildMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected