fix: explain explicit auto migration and verify probe cleanup

This commit is contained in:
2026-09-09 01:37:07 -04:00
parent a0a33c0c01
commit c710c3a7ec
3 changed files with 42 additions and 0 deletions
+7
View File
@@ -696,6 +696,13 @@ def _tier_unsupported(
if fallback == "nearest" or effort is Effort.AUTO
else ";若希望自动落到最近的档,请配 EFFORT_FALLBACK=nearest"
)
if effort is Effort.AUTO:
example = capability.cheapest_effort or Effort.NONE
hint = (
";请显式选择清单中的档位,例如 "
f"{{SCOPE}}__{{PROVIDER}}__{{N}}__REASONING_EFFORT={example.value}"
f"或调用时传 reasoning_effort=Effort.{example.name};库不会自动应用此选择"
)
return f"{head}{body}{hint}"