File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
server/api/views/assistant Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ def search_documents(query: str, user=user) -> str:
223223 MODEL_DEFAULTS = {
224224 "instructions" : INSTRUCTIONS ,
225225 "model" : "gpt-5-nano" , # 400,000 token context window
226- "reasoning" : {"effort" : "medium " , "summary" : "auto" },
226+ "reasoning" : {"effort" : "low " , "summary" : "auto" },
227227 "tools" : tools ,
228228 }
229229
@@ -272,9 +272,7 @@ def search_documents(query: str, user=user) -> str:
272272 logger .info ("Reasoning completed" )
273273 final_response_output_text = response .output_text
274274 final_response_id = response .id
275- logger .info (
276- f"Final response length: { len (final_response_output_text )} characters"
277- )
275+ logger .info (f"Final response: { final_response_output_text } " )
278276 break
279277 else :
280278 logger .info ("More reasoning required, continuing..." )
You can’t perform that action at this time.
0 commit comments