From 1263c09aab50651eb64b6401ad1a06a422ab6fc1 Mon Sep 17 00:00:00 2001 From: pedrohsdb Date: Fri, 13 Feb 2026 14:25:24 -0800 Subject: [PATCH] Reduce frequency of thinking budget optimization logs (#4746) --- skyvern/forge/sdk/api/llm/api_handler_factory.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skyvern/forge/sdk/api/llm/api_handler_factory.py b/skyvern/forge/sdk/api/llm/api_handler_factory.py index 6b4a1fae..fc5051da 100644 --- a/skyvern/forge/sdk/api/llm/api_handler_factory.py +++ b/skyvern/forge/sdk/api/llm/api_handler_factory.py @@ -289,7 +289,7 @@ class LLMAPIHandlerFactory: else: # Other reasoning-capable models (Deepseek, etc.) - use "low" for all budget values parameters["reasoning_effort"] = "low" - LOG.info( + LOG.debug( "Applied thinking budget optimization (reasoning_effort)", prompt_name=prompt_name, budget=new_budget, @@ -320,7 +320,7 @@ class LLMAPIHandlerFactory: if model_label is None and isinstance(llm_config, LLMRouterConfig): model_label = getattr(llm_config, "main_model_group", "router") - LOG.info( + LOG.debug( "Applied thinking budget optimization (reasoning_effort)", prompt_name=prompt_name, budget=new_budget, @@ -338,7 +338,7 @@ class LLMAPIHandlerFactory: if model_label is None and isinstance(llm_config, LLMRouterConfig): model_label = getattr(llm_config, "main_model_group", "router") - LOG.info( + LOG.debug( "Applied thinking budget optimization (thinking)", prompt_name=prompt_name, budget=new_budget, @@ -366,7 +366,7 @@ class LLMAPIHandlerFactory: thinking_payload["type"] = "enabled" parameters["thinking"] = thinking_payload - LOG.info( + LOG.debug( "Applied thinking budget optimization (budget_tokens)", prompt_name=prompt_name, budget=new_budget,