Skip to content
Snippets Groups Projects
Unverified Commit b7e0072c authored by Huu Le's avatar Huu Le Committed by GitHub
Browse files

chore: always generate tools config if user selects agent mode (#102)

parent 1f5a26f3
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,6 @@ export const writeToolsConfig = async ( ...@@ -159,7 +159,6 @@ export const writeToolsConfig = async (
tools: Tool[] = [], tools: Tool[] = [],
type: ConfigFileType = ConfigFileType.YAML, type: ConfigFileType = ConfigFileType.YAML,
) => { ) => {
if (tools.length === 0) return; // no tools selected, no config need
const configContent: { const configContent: {
[key in ToolType]: Record<string, any>; [key in ToolType]: Record<string, any>;
} = { } = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment