Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions scripts/setup-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ async function checkEnvironmentVariables() {
const e2bKey = process.env.VITE_E2B_API_KEY;

logInfo(`Runtime check:`);
logInfo(`VITE_GROQ_API_KEY: ${groqKey ? `Set (${groqKey.substring(0, 8)}...)` : 'Not set'}`);
logInfo(`VITE_E2B_API_KEY: ${e2bKey ? `Set (${e2bKey.substring(0, 8)}...)` : 'Not set'}`);
logInfo(`VITE_GROQ_API_KEY: ${groqKey ? 'Set' : 'Not set'}`);
logInfo(`VITE_E2B_API_KEY: ${e2bKey ? 'Set' : 'Not set'}`);

// Check all existing env files
const envFiles = ['.env.local', '.env'];
Expand All @@ -303,8 +303,8 @@ async function checkEnvironmentVariables() {
const fileGroqKey = env.VITE_GROQ_API_KEY;
const fileE2bKey = env.VITE_E2B_API_KEY;

logInfo(` VITE_GROQ_API_KEY: ${fileGroqKey ? `Set (${fileGroqKey.substring(0, 8)}...)` : 'Not set'}`);
logInfo(` VITE_E2B_API_KEY: ${fileE2bKey ? `Set (${fileE2bKey.substring(0, 8)}...)` : 'Not set'}`);
logInfo(` VITE_GROQ_API_KEY: ${fileGroqKey ? 'Set' : 'Not set'}`);
logInfo(` VITE_E2B_API_KEY: ${fileE2bKey ? 'Set' : 'Not set'}`);
}
}

Expand Down
Loading