Skip to content

Commit 9bea357

Browse files
authored
fix: tool loading by name for beta tools (#165)
1 parent ba9369a commit 9bea357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export class ActorsMcpServer {
172172
const loadedTools = this.listAllToolNames();
173173
const actorsToLoad: string[] = [];
174174
const toolsToLoad: ToolEntry[] = [];
175-
const internalToolMap = new Map([...defaultTools, ...addRemoveTools].map((tool) => [tool.tool.name, tool]));
175+
const internalToolMap = new Map([...defaultTools, ...addRemoveTools, ...betaTools].map((tool) => [tool.tool.name, tool]));
176176

177177
for (const tool of toolNames) {
178178
// Skip if the tool is already loaded

0 commit comments

Comments
 (0)