From b7e0072c9cd37d8906effc478beb13c47b80d412 Mon Sep 17 00:00:00 2001
From: Huu Le <39040748+leehuwuj@users.noreply.github.com>
Date: Tue, 28 May 2024 14:35:36 +0700
Subject: [PATCH] chore: always generate tools config if user selects agent
 mode (#102)

---
 helpers/tools.ts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/helpers/tools.ts b/helpers/tools.ts
index a41764eb..c12cbd59 100644
--- a/helpers/tools.ts
+++ b/helpers/tools.ts
@@ -159,7 +159,6 @@ export const writeToolsConfig = async (
   tools: Tool[] = [],
   type: ConfigFileType = ConfigFileType.YAML,
 ) => {
-  if (tools.length === 0) return; // no tools selected, no config need
   const configContent: {
     [key in ToolType]: Record<string, any>;
   } = {
-- 
GitLab