Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Add OpenAI generate summary

f-trycuac0afb5583d2f
diff --git a/libs/agent/agent/providers/openai/api_handler.py b/libs/agent/agent/providers/openai/api_handler.py
index ac43514636..f1056cee7d 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",
}