From a2200f360af7ea4e5ec661fc98e93204cc702a67 Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 13 Nov 2024 02:07:03 +0100 Subject: [PATCH] Update error message for missing inputs to specify 'database-url' and 'openai-api-key' --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index b7ea86a..ceeda4c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -132,7 +132,7 @@ async function run(): Promise { // Check if the inputs are provided if (!databaseUrl || !openaiApiKey) { - throw new Error("DATABASE_URL and OPENAI_API_KEY must be provided.") + throw new Error("The inputs 'database-url' and 'openai-api-key' must be provided.") } // Generate embeddings