idk
This commit is contained in:
@@ -55,12 +55,15 @@ export const TOOLS: Tool[] = [
|
||||
|
||||
export class ToolServer {
|
||||
private _callCount = 0;
|
||||
private readonly pr: PRContext;
|
||||
private readonly workspace: string | null;
|
||||
private readonly maxToolCalls: number;
|
||||
|
||||
constructor(
|
||||
private readonly pr: PRContext,
|
||||
private readonly workspace: string | null,
|
||||
private readonly maxToolCalls: number,
|
||||
) {}
|
||||
constructor(pr: PRContext, workspace: string | null, maxToolCalls: number) {
|
||||
this.pr = pr;
|
||||
this.workspace = workspace;
|
||||
this.maxToolCalls = maxToolCalls;
|
||||
}
|
||||
|
||||
get tools(): Tool[] {
|
||||
return TOOLS;
|
||||
|
||||
Reference in New Issue
Block a user