We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc32628 commit cf3f111Copy full SHA for cf3f111
1 file changed
typescript/src/mastra/essentials.ts
@@ -12,8 +12,7 @@ import {AuthConfig} from '../types/auth';
12
13
class CommercetoolsAgentEssentials {
14
private _commercetools: CommercetoolsAPI;
15
-
16
- tools: {[key: string]: Tool};
+ private _tools: {[key: string]: Tool}; = {};
17
18
constructor({
19
authConfig,
@@ -29,8 +28,6 @@ class CommercetoolsAgentEssentials {
29
28
processedConfiguration.context
30
);
31
32
- this.tools = {};
33
34
contextToTools(processedConfiguration.context)
35
.filter((tool) => isToolAllowed(tool, processedConfiguration))
36
.forEach((tool) => {
0 commit comments