mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
test(proxy): cover health_check_reasoning_effort for completion mode
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
32a5e77adf
commit
b4ee6a2355
1 changed files with 6 additions and 0 deletions
|
|
@ -240,6 +240,12 @@ def test_update_litellm_params_health_check_reasoning_effort():
|
|||
)
|
||||
assert out.get("reasoning_effort") == "none"
|
||||
|
||||
model_info = {"mode": "completion", "health_check_reasoning_effort": "low"}
|
||||
out = _update_litellm_params_for_health_check(
|
||||
model_info, {"model": "openai/gpt-5", "api_key": "x"}
|
||||
)
|
||||
assert out.get("reasoning_effort") == "low"
|
||||
|
||||
model_info = {
|
||||
"health_check_reasoning_effort": {"effort": "none", "summary": "auto"},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue