fix: explain explicit auto migration and verify probe cleanup
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user