Skip to content

Commit dc9a07a

Browse files
authored
fix: add tools with query parameter (#76)
1 parent 6b63dcd commit dc9a07a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ async function processParamsAndUpdateTools(url: string) {
7272
} else if (mcpServer.getToolNames().length === 0) {
7373
await mcpServer.addToolsFromDefaultActors();
7474
}
75+
if (input.enableAddingActors) {
76+
mcpServer.updateTools(getActorAutoLoadingTools());
77+
}
7578
log.debug(`Server is running in STANDBY mode with the following Actors (tools): ${mcpServer.getToolNames()}.
7679
To use different Actors, provide them in query parameter "actors" or include them in the Actor Task input.`);
7780
}

0 commit comments

Comments
 (0)