From aceb853e714e0908e5670dbe384e419dabea9b6c Mon Sep 17 00:00:00 2001 From: Shrey Modi Date: Thu, 9 Oct 2025 17:01:26 -0700 Subject: [PATCH] reasoning effort string change --- eval_protocol/pytest/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval_protocol/pytest/plugin.py b/eval_protocol/pytest/plugin.py index d0c4af4d..4b1164d3 100644 --- a/eval_protocol/pytest/plugin.py +++ b/eval_protocol/pytest/plugin.py @@ -307,7 +307,7 @@ def pytest_configure(config) -> None: # Always place under extra_body to avoid LiteLLM rejecting top-level params eb = merged.setdefault("extra_body", {}) # Convert "none" string to None value for API compatibility - eb["reasoning_effort"] = None if reasoning_effort.lower() == "none" else str(reasoning_effort) + eb["reasoning_effort"] = str(reasoning_effort) if merged: os.environ["EP_INPUT_PARAMS_JSON"] = json.dumps(merged) except Exception: