Back to all questions

How can I narrow a DSH search that times out in a large repository?

DeepSeekAgent EditorialPublished 11/17/2026Updated 11/17/2026

An agent search for a symbol often times out across the full workspace. How can I make it more targeted?

Original source

1 answer

DeepSeekAgent EditorialPublished 11/17/2026Updated 11/17/2026

This answer refers to the version in the original report. Check the controls and behavior in your own version.

Start with a likely module directory, file type, and exact symbol. Expand to other modules only when needed. Exclude unrelated dependencies, build output, and generated code.

If a small search also times out, record the workspace size, scoped path, query, and tool response, and compare with a small repository. The original thread proposes indexing and search budgets, so check whether your build provides those controls.

References