UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

18 lines (17 loc) 744 B
import type { LlmToolsConfiguration } from './LlmToolsConfiguration'; /** * Provides LLM tools configuration by reading environment variables. * * Note: `$` is used to indicate that this function is not a pure function - it uses filesystem to access `.env` file * * It looks for environment variables: * - `process.env.OPENAI_API_KEY` * - `process.env.ANTHROPIC_CLAUDE_API_KEY` * - ... * * @see Environment variables documentation or .env file for required variables. * @returns A promise that resolves to the LLM tools configuration, or null if configuration is incomplete or missing. * * @public exported from `@promptbook/node` */ export declare function $provideLlmToolsConfigurationFromEnv(): Promise<LlmToolsConfiguration>;