UNPKG

@gensx/react

Version:

React hooks and components for GenSX AI workflows.

19 lines (15 loc) 527 B
'use strict'; /** * Check out the docs at https://www.gensx.com/docs * Find us on Github https://github.com/gensx-inc/gensx * Find us on Discord https://discord.gg/F5BSU8Kc */ // Helper to create tool implementations with type safety function createToolImplementations(implementations) { return Object.fromEntries(Object.entries(implementations).map(([name, impl]) => [ name, { execute: impl }, ])); } exports.createToolImplementations = createToolImplementations; //# sourceMappingURL=tools.cjs.map