We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e555554 commit 096e9c7Copy full SHA for 096e9c7
templates/components/engines/typescript/agent/tools/index.ts
@@ -1,5 +1,4 @@
1
import { BaseToolWithCall } from "llamaindex";
2
-import { ToolsFactory } from "llamaindex/tools/ToolsFactory";
3
import fs from "node:fs/promises";
4
import path from "node:path";
5
import { CodeGeneratorTool, CodeGeneratorToolParams } from "./code-generator";
@@ -28,8 +27,6 @@ export async function createTools(toolConfig: {
28
27
}): Promise<BaseToolWithCall[]> {
29
// add local tools from the 'tools' folder (if configured)
30
const tools = await createLocalTools(toolConfig.local);
31
- // add tools from LlamaIndexTS (if configured)
32
- tools.push(...(await ToolsFactory.createTools(toolConfig.llamahub)));
33
return tools;
34
}
35
0 commit comments