Wire the existing HeuristicRouter into the RouterPolicyRegistry.
Classes
Functions
ensure_registered
ensure_registered() -> None
Register HeuristicRouter if not already present.
Source code in src/openjarvis/learning/routing/heuristic_policy.py
| def ensure_registered() -> None:
"""Register HeuristicRouter if not already present."""
if not RouterPolicyRegistry.contains("heuristic"):
RouterPolicyRegistry.register_value("heuristic", HeuristicRouter)
|