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
2026-04-06 09:21:49 -05:00
parent 8e8759ff13
commit 77432fe4ea
4 changed files with 53 additions and 3 deletions
+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(),
});
}