UNPKG

@visulima/error

Version:

Error with more than just a message, stacktrace parsing.

13 lines (12 loc) 344 B
import type { LanguageModel } from "ai"; import type { SolutionFinder } from "../types.d.ts"; interface CacheOptions { directory?: string; enabled?: boolean; ttl?: number; } declare const aiFinder: (model: LanguageModel, options?: { cache?: CacheOptions; temperature?: number; }) => SolutionFinder; export default aiFinder;