Initial work on generating tools from equations and descriptions

This commit is contained in:
Daniel Dunn
2025-04-02 00:13:17 -06:00
parent 08e43b8a42
commit 0d025a90af
11 changed files with 254 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
async function importComponent() {
const x = await import('./index');
return { default: x.default() };
}
export const tool = defineTool('number', {
name: 'Generic calc',
path: 'generic-calc',
icon: '',
description: '',
shortDescription: '',
keywords: ['generic', 'calc'],
longDescription: '',
component: lazy(importComponent)
});