mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-04 06:30:53 +00:00
Refactor: Use config.getGeminiClient() for GeminiClient instantiation (#715)
This commit is contained in:
parent
cf84f1af68
commit
8ab74ef1bb
9 changed files with 39 additions and 16 deletions
|
|
@ -77,7 +77,7 @@ export class WriteFileTool extends BaseTool<WriteFileToolParams, ToolResult> {
|
|||
},
|
||||
);
|
||||
|
||||
this.client = new GeminiClient(this.config);
|
||||
this.client = this.config.getGeminiClient();
|
||||
}
|
||||
|
||||
private isWithinRoot(pathToCheck: string): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue