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:
1 parent
8e8759ff13
commit
77432fe4ea
4 files changed
+53
-3
No files matched your search
+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