Fix isAnyProvider and don't make it a hard block (#93)

This commit is contained in:
Will Chen
2025-05-06 12:13:03 -07:00
committed by GitHub
parent 7c0ce1d45b
commit 390496f8f8
4 changed files with 17 additions and 13 deletions

View File

@@ -131,6 +131,7 @@ export const PROVIDER_TO_ENV_VAR: Record<string, string> = {
openai: "OPENAI_API_KEY",
anthropic: "ANTHROPIC_API_KEY",
google: "GEMINI_API_KEY",
openrouter: "OPENROUTER_API_KEY",
};
export const ALLOWED_ENV_VARS = Object.keys(PROVIDER_TO_ENV_VAR).map(