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:
+2
-1
@@ -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(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user