This commit is contained in:
2026-06-01 20:43:19 -05:00
parent 59f1e72dec
commit 108b8243a9
+8 -5
View File
@@ -55,12 +55,15 @@ export const TOOLS: Tool[] = [
export class ToolServer { export class ToolServer {
private _callCount = 0; private _callCount = 0;
private readonly pr: PRContext;
private readonly workspace: string | null;
private readonly maxToolCalls: number;
constructor( constructor(pr: PRContext, workspace: string | null, maxToolCalls: number) {
private readonly pr: PRContext, this.pr = pr;
private readonly workspace: string | null, this.workspace = workspace;
private readonly maxToolCalls: number, this.maxToolCalls = maxToolCalls;
) {} }
get tools(): Tool[] { get tools(): Tool[] {
return TOOLS; return TOOLS;