From 26f4f29f1cb48bf55e0c2646b467723f2e395681 Mon Sep 17 00:00:00 2001 From: Sahil D Shah Date: Thu, 4 Sep 2025 10:17:52 -0400 Subject: [PATCH] BUGFIX: OpenAI model reasoning summary requires org verification --- server/api/views/assistant/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/api/views/assistant/views.py b/server/api/views/assistant/views.py index ca65f335..32089c58 100644 --- a/server/api/views/assistant/views.py +++ b/server/api/views/assistant/views.py @@ -223,7 +223,8 @@ def search_documents(query: str, user=user) -> str: MODEL_DEFAULTS = { "instructions": INSTRUCTIONS, "model": "gpt-5-nano", # 400,000 token context window - "reasoning": {"effort": "low", "summary": "auto"}, + # A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. + "reasoning": {"effort": "low", "summary": None}, "tools": tools, }