Skip to content

Commit

Permalink
feat: add DEEPGRAM and OPENAI keys to env
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Dec 10, 2023
1 parent 5a58383 commit d12879b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_SUPABASE_ANON_KEY=

DEEPGRAM_API_KEY=
OPENAI_API_KEY=
2 changes: 2 additions & 0 deletions env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ const getGitSha = () => {
};

const envSchema = z.object({
DEEPGRAM_API_KEY: z.string().min(1),
GIT_SHA: z.string().min(1).default(getGitSha()),
NEXT_PUBLIC_SUPABASE_ANON_KEY: z.string(),
NEXT_PUBLIC_SUPABASE_URL: z.string(),
OPENAI_API_KEY: z.string().min(1),
// We don't have these configurations yet.
SUPABASE_SERVICE_ROLE_KEY: z.string().default(''),
SUPABASE_URL: z.string().default(''),
Expand Down
Empty file.

0 comments on commit d12879b

Please sign in to comment.