UNPKG

@promptbook/remote-server

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

27 lines (26 loc) 1.15 kB
import '../../../_packages/cli.index'; import type { LlmExecutionToolsWithTotalUsage } from '../utils/count-total-usage/LlmExecutionToolsWithTotalUsage'; import type { CreateLlmToolsFromConfigurationOptions } from './createLlmToolsFromConfiguration'; type GetLlmToolsForTestingAndScriptsAndPlaygroundOptions = CreateLlmToolsFromConfigurationOptions & { /** * @@@ * * @default false */ isCacheReloaded?: boolean; }; /** * Returns LLM tools for testing purposes * * Note: `$` is used to indicate that this function is not a pure function - it uses filesystem to access `.env` file * * @private within the repository - JUST FOR TESTS, SCRIPTS AND PLAYGROUND */ export declare function $provideLlmToolsForTestingAndScriptsAndPlayground(options?: GetLlmToolsForTestingAndScriptsAndPlaygroundOptions): Promise<LlmExecutionToolsWithTotalUsage>; export {}; /** * Note: [⚪] This should never be in any released package * TODO: [👷‍♂️] @@@ Manual about construction of llmTools * TODO: This should be maybe not under `_common` but under `utils-internal` / `utils/internal` * TODO: [®] DRY Register logic */