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

54 lines (53 loc) 1.84 kB
import { z } from 'zod'; import { GthConfig } from '#src/config.js'; export declare function get(_: GthConfig): import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{ thought: z.ZodString; nextThoughtNeeded: z.ZodBoolean; thoughtNumber: z.ZodNumber; totalThoughts: z.ZodNumber; isRevision: z.ZodOptional<z.ZodBoolean>; revisesThought: z.ZodOptional<z.ZodNumber>; branchFromThought: z.ZodOptional<z.ZodNumber>; branchId: z.ZodOptional<z.ZodString>; needsMoreThoughts: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { thought: string; nextThoughtNeeded: boolean; thoughtNumber: number; totalThoughts: number; isRevision?: boolean | undefined; revisesThought?: number | undefined; branchFromThought?: number | undefined; branchId?: string | undefined; needsMoreThoughts?: boolean | undefined; }, { thought: string; nextThoughtNeeded: boolean; thoughtNumber: number; totalThoughts: number; isRevision?: boolean | undefined; revisesThought?: number | undefined; branchFromThought?: number | undefined; branchId?: string | undefined; needsMoreThoughts?: boolean | undefined; }>, { thought: string; nextThoughtNeeded: boolean; thoughtNumber: number; totalThoughts: number; isRevision?: boolean | undefined; revisesThought?: number | undefined; branchFromThought?: number | undefined; branchId?: string | undefined; needsMoreThoughts?: boolean | undefined; }, { thought: string; nextThoughtNeeded: boolean; thoughtNumber: number; totalThoughts: number; isRevision?: boolean | undefined; revisesThought?: number | undefined; branchFromThought?: number | undefined; branchId?: string | undefined; needsMoreThoughts?: boolean | undefined; }, string>;