镜像自地址
https://github.com/MINT-SJTU/Evo-RL.git
已同步 2026-11-20 18:17:06 +00:00
fix(piper): normalize int-like ctrl_mode enum to int
这个提交包含在:
@ -83,7 +83,7 @@ def _piper_mode_to_int(value: Any) -> int | None:
|
||||
if isinstance(value, bool):
|
||||
return int(value)
|
||||
if isinstance(value, int):
|
||||
return value
|
||||
return int(value)
|
||||
if hasattr(value, "value") and isinstance(value.value, int):
|
||||
return int(value.value)
|
||||
if hasattr(value, "__int__"):
|
||||
|
||||
在新工单中引用
屏蔽一个用户