Skip to content

Commit

Permalink
chore: update how to identify google model
Browse files Browse the repository at this point in the history
  • Loading branch information
fredliang44 authored and abrahamgreyson committed Jan 12, 2024
1 parent 8d8ff53 commit 0c5222f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/config/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const getServerSideConfig = () => {
}

const isAzure = !!process.env.AZURE_URL;
const isGoogle = !!process.env.GOOGLE_URL;
const isGoogle = !!process.env.GOOGLE_API_KEY;

const apiKeyEnvVar = process.env.OPENAI_API_KEY ?? "";
const apiKeys = apiKeyEnvVar.split(",").map((v) => v.trim());
Expand Down

0 comments on commit 0c5222f

Please sign in to comment.