Skip to content

Commit

Permalink
Update error message for missing inputs to specify 'database-url' and…
Browse files Browse the repository at this point in the history
… 'openai-api-key'
  • Loading branch information
PieterDePauw committed Nov 13, 2024
1 parent 4197ea8 commit a2200f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async function run(): Promise<void> {

// 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
Expand Down

0 comments on commit a2200f3

Please sign in to comment.