Skip to content

Performance Issue with Agents - Synchronous API Call #389

Closed as not planned
@puneetsharma7445

Description

@puneetsharma7445

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about using the SDKstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions