feat: Add dynamic codegraph_explore call budgets based on project size

Replaces fixed 6-call limit with adaptive budgets that scale from 2 calls for small projects (
This commit is contained in:
Colby McHenry committed 2026-04-06 09:21:49 -05:00
1 parent 8e8759ff13
commit 77432fe4ea
4 files changed
+53 -3

No files matched your search

+2 -1
View File
@@ -255,8 +255,9 @@ export class MCPServer {
* Handle tools/list request
*/
private async handleToolsList(request: JsonRpcRequest): Promise<void> {
this.retryInitIfNeeded();
this.transport.sendResult(request.id, {
tools: tools,
tools: this.toolHandler.getTools(),
});
}