[Deprecation] Deprecation --convert reward, use --convert embed instead. (#30463)

Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
This commit is contained in:
wang.yuqi
2025-12-11 18:18:25 +08:00
committed by GitHub
parent 4515eb1a0b
commit a5f9fb5960
3 changed files with 15 additions and 3 deletions

View File

@@ -788,6 +788,13 @@ class ModelConfig:
runner_type: RunnerType,
convert: ConvertOption,
) -> ConvertType:
if convert == "reward":
logger.warning(
"`--convert reward` is deprecated and will be removed in v0.15. "
"Please use `--convert embed` instead."
)
return "embed"
if convert != "auto":
return convert