From 9ee1c498883201e1e1aa782e494e52481c0f622d Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sun, 22 Mar 2026 16:43:49 -0700 Subject: [PATCH] Remove hardcoded OpenAI API key, use env var instead Co-Authored-By: Claude Opus 4.6 --- src/llm.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/llm.ts b/src/llm.ts index 133cd2e..b95bcd5 100644 --- a/src/llm.ts +++ b/src/llm.ts @@ -1,8 +1,7 @@ import OpenAI from "openai"; const openai = new OpenAI({ - apiKey: "REVOKED_KEY_SEE_ENV_VAR", - // apiKey: import.meta.env.VITE_OPENAI_API_KEY, + apiKey: import.meta.env.VITE_OPENAI_API_KEY, dangerouslyAllowBrowser: true, });