From bf1d4b915730d664b7b6f7e000ae83be4a2c8f9a Mon Sep 17 00:00:00 2001 From: Igor Ilic Date: Fri, 29 Aug 2025 18:15:35 +0200 Subject: [PATCH] refactor: Change reasoning from low to minimal --- .../litellm_instructor/llm/openai/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/openai/adapter.py b/cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/openai/adapter.py index ee6c1a8dd..7e8d75d10 100644 --- a/cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/openai/adapter.py +++ b/cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/openai/adapter.py @@ -132,7 +132,7 @@ class OpenAIAdapter(LLMInterface): api_version=self.api_version, response_model=response_model, max_retries=self.MAX_RETRIES, - extra_body={"reasoning_effort": "low"}, + extra_body={"reasoning_effort": "minimal"}, ) except ( ContentFilterFinishReasonError,