Skip to content

Commit 096e9c7

Browse files
committed
remove tool factory
1 parent e555554 commit 096e9c7

File tree

1 file changed

+0
-3
lines changed
  • templates/components/engines/typescript/agent/tools

1 file changed

+0
-3
lines changed

templates/components/engines/typescript/agent/tools/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { BaseToolWithCall } from "llamaindex";
2-
import { ToolsFactory } from "llamaindex/tools/ToolsFactory";
32
import fs from "node:fs/promises";
43
import path from "node:path";
54
import { CodeGeneratorTool, CodeGeneratorToolParams } from "./code-generator";
@@ -28,8 +27,6 @@ export async function createTools(toolConfig: {
2827
}): Promise<BaseToolWithCall[]> {
2928
// add local tools from the 'tools' folder (if configured)
3029
const tools = await createLocalTools(toolConfig.local);
31-
// add tools from LlamaIndexTS (if configured)
32-
tools.push(...(await ToolsFactory.createTools(toolConfig.llamahub)));
3330
return tools;
3431
}
3532

0 commit comments

Comments
 (0)