UNPKG

@reliverse/rse

Version:

@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power

11 lines (10 loc) 348 B
import type { ReliverseMemory } from "../../utils/schemaMemory.js"; /** * Ensures we have a valid OpenAI API key in either: * 1) process.env * 2) memory.openaiKey * * If not found or invalid, prompts the user to provide one, * then stores it in memory. */ export declare function ensureOpenAIKey(memory: ReliverseMemory): Promise<string>;