Cloud Agents taking a lot of time

I have connected cloud agent to github.

Cloud agents takes a lot of time to answer queries based on a particular repository, as i guess it is reindexing from the start. Is there any way to get the cloud agents to be ready with the indexed codebase before I create a new agent ?

This could improve the performance

Hey, thanks for the request. Indexing the codebase is a normal part of starting a Cloud Agent, but it should be pretty fast.

A few questions to help understand what’s going on:

  • About how big is your repo, roughly how many files?
  • About how long does it take before the agent gives its first response?
  • Does this happen every time you create a new agent, or only on the first run?
  • Are you using snapshots in the Cloud Agent settings?

If indexing is really taking a long time, more than a few minutes for a medium-sized repo, it could be a performance issue. There isn’t a built-in way to pre-index a repo before creating an agent right now, but if this is a real bottleneck in your workflow, I can pass it along to the team to consider.

  1. There are more than 7000 files . ( Java , js , drl, yml files etc. )

  2. It takes roughly around 3-4 minutes before giving the first response

  3. It happens every time when creating a new agent

  4. Not using snasphots , I am using the default settings while invoking the cloud agents.

    The codebase is definitely in the bigger medium size , and it would be great if the team could consider this !