OpenAIErrors:{ MAX_TOKENS: "Maximum number of tokens reached."; NO_API_KEY: "No API key provided. Please set the OPENAI_API_KEY environment variable or pass the { apiKey } option."; UNKNOWN: "An unknown error occurred."; } = ...
Type declaration
MAX_TOKENS: "Maximum number of tokens reached."
NO_API_KEY: "No API key provided. Please set the OPENAI_API_KEY environment variable or pass the { apiKey } option."