on_create_policy# RLlibCallback.on_create_policy(*, policy_id: str, policy: Policy) → None[source]# Callback run whenever a new policy is added to an algorithm. Parameters: policy_id (str) – ID of the newly created policy. policy (Policy) – The policy just created.