From 88bef12f6abe1a650c1bc554936b2b6627b1e9db Mon Sep 17 00:00:00 2001 From: Antonio Ventilii Date: Tue, 22 Oct 2024 09:13:40 +0200 Subject: [PATCH] refactor: remove redundancy in creator --- packages/utils/src/utils/agent.utils.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/utils/src/utils/agent.utils.ts b/packages/utils/src/utils/agent.utils.ts index 90754a56a..0c4cd76f2 100644 --- a/packages/utils/src/utils/agent.utils.ts +++ b/packages/utils/src/utils/agent.utils.ts @@ -53,9 +53,7 @@ export type AgentManagerConfig = Pick< export class AgentManager { private agents: Record | undefined | null = undefined; - private constructor(private readonly config: AgentManagerConfig) { - this.config = config; - } + private constructor(private readonly config: AgentManagerConfig) {} /** * Static factory method to create a new AgentManager instance.