UNPKG

gaunt-sloth-assistant

Version:

[![Tests and Lint](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml) [![Integration Tests](https://github.co

15 lines 599 B
import { tool } from '@langchain/core/tools'; import { z } from 'zod'; import { displayInfo } from '#src/utils/consoleUtils.js'; const toolDefinition = { name: 'gth_status_update', description: `Gaunt Sloth Status Update Tool. Use this tool to update status in the console. Example: gth_status_update "Working on something important", be brief, feel free to use emojis. Update after using tools.`, schema: z.string(), }; const toolImpl = (s) => { displayInfo(s); }; export function get(_) { return tool(toolImpl, toolDefinition); } //# sourceMappingURL=gthStatusUpdateTool.js.map