Skip to content

Commit 09ee141

Browse files
committed
remove thread tools
1 parent cf373e2 commit 09ee141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ai/src/agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ export class AIAgent2 extends BaseActor<AgentMetadata> implements IIAgent {
609609
toolsetsFromOptions?: Toolset[],
610610
): Promise<ToolsetsInput> {
611611
const getThreadToolsTiming = timings?.start("get-thread-tools");
612-
const tool_set = tools ?? (await this.getThreadTools(thread));
612+
const tool_set = tools ?? {}; // ?? (await this.getThreadTools(thread));
613613
getThreadToolsTiming?.end();
614614

615615
const pickCallableToolsTiming = timings?.start("pick-callable-tools");

0 commit comments

Comments
 (0)