mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 05:00:46 +00:00
Rollforward AST changes to unblock Sandboxing (#863)
This commit is contained in:
parent
ccdd1df039
commit
37edbd8c18
6 changed files with 2 additions and 1357 deletions
|
|
@ -11,7 +11,6 @@ import process from 'node:process';
|
|||
import * as os from 'node:os';
|
||||
import { ContentGeneratorConfig } from '../core/contentGenerator.js';
|
||||
import { ToolRegistry } from '../tools/tool-registry.js';
|
||||
import { CodeParserTool } from '../tools/code_parser.js'; // Added CodeParserTool
|
||||
import { LSTool } from '../tools/ls.js';
|
||||
import { ReadFileTool } from '../tools/read-file.js';
|
||||
import { GrepTool } from '../tools/grep.js';
|
||||
|
|
@ -350,7 +349,6 @@ export function createToolRegistry(config: Config): Promise<ToolRegistry> {
|
|||
registerCoreTool(ShellTool, config);
|
||||
registerCoreTool(MemoryTool);
|
||||
registerCoreTool(WebSearchTool, config);
|
||||
registerCoreTool(CodeParserTool, targetDir, config); // Added CodeParserTool
|
||||
return (async () => {
|
||||
await registry.discoverTools();
|
||||
return registry;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue