Wrong docstring in algorithmconfig.multi_agent

1. Severity of the issue: (select one)
[O] None: I’m just curious or want clarification.
Low: Annoying but doesn’t hinder my work.
Medium: Significantly affects my productivity but can find a workaround.
High: Completely blocks me.

2. Environment:

  • Ray version: 2.42.0
  • Python version: 3.10
  • OS: Windows

3. What happened vs. what you expected:

  • Expected: consistent docstring, type hinting
  • Actual: wrong docstring, type hinting

Please inspect policy_mapping_fn in algorithm_config.py module. It is probably coming from discrepancy between old and new API, and would appreciate a fix.

Hi! The old API will be deprecated before the end of the year, so hopefully this should be resolved by then. Thanks for surfacing it though!