From 191e8633712c0f6c46da13700725632680cd7440 Mon Sep 17 00:00:00 2001 From: T145 Date: Mon, 19 Oct 2026 08:18:59 +0000 Subject: [PATCH] fix(webwright): stop advertising undocumented reasoning_effort --- litellm/llms/webwright/chat/transformation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litellm/llms/webwright/chat/transformation.py b/litellm/llms/webwright/chat/transformation.py index 9f552def8eb..3f5c99f09c0 100644 --- a/litellm/llms/webwright/chat/transformation.py +++ b/litellm/llms/webwright/chat/transformation.py @@ -42,6 +42,8 @@ class WebwrightChatConfig(OpenAILikeChatConfig): WebWright supports the OpenAI-compatible chat completion parameters that its published model abilities reference declares. Reference: https://webwright.ai/models + Reasoning is declared in the abilities reference, but no caller-facing + reasoning field or allowed values are published, so it is not advertised. """ return [ "messages", # Required @@ -54,5 +56,4 @@ class WebwrightChatConfig(OpenAILikeChatConfig): "tools", # Optional "tool_choice", # Optional "response_format", # Optional - "reasoning_effort", # Optional ]