We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096e9c7 commit ef743a9Copy full SHA for ef743a9
helpers/tools.ts
@@ -325,9 +325,16 @@ export const writeToolsConfig = async (
325
yaml.stringify(configContent),
326
);
327
} else {
328
+ // For Typescript, we treat llamahub tools as local tools
329
+ const tsConfigContent = {
330
+ local: {
331
+ ...configContent.local,
332
+ ...configContent.llamahub,
333
+ },
334
+ };
335
await fs.writeFile(
336
path.join(configPath, "tools.json"),
- JSON.stringify(configContent, null, 2),
337
+ JSON.stringify(tsConfigContent, null, 2),
338
339
}
340
};
0 commit comments