Closed as not planned
Description
Please read this first
- Have you read the docs?Agents SDK docs - Yes
- Have you searched for related issues? Others may have had similar requesrs - Yes but haven't found similar one
Question
I'm working on a use case where a user uploads an Excel file containing around 20 product details. The backend API processes this request by invoking an agent, which reads the file content and returns the product details in a structured JSON format. However, we're facing performance issues— the agent takes 20-33 seconds to process the data, leading to gateway timeout errors.
Am I approaching this incorrectly? Can agents be effectively used in a synchronous REST API call? Any suggestions on improving performance or handling this better would be greatly appreciated!