From c0afb5583d2f90ec79b5c6421937d4ecbb756807 Mon Sep 17 00:00:00 2001 From: f-trycua Date: Wed, 2 Apr 2025 15:47:10 +0200 Subject: [PATCH] Add OpenAI generate summary --- libs/agent/agent/providers/openai/api_handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/agent/agent/providers/openai/api_handler.py b/libs/agent/agent/providers/openai/api_handler.py index ac435146..f1056cee 100644 --- a/libs/agent/agent/providers/openai/api_handler.py +++ b/libs/agent/agent/providers/openai/api_handler.py @@ -132,6 +132,9 @@ class OpenAIAPIHandler: } ], "input": input_array, + "reasoning": { + "generate_summary": "concise", + }, "truncation": "auto", }