Skip to content

Commit

Permalink
Update openAI.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
babaohuang committed Dec 14, 2023
1 parent cc8ca9e commit 42ac104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/openAI.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GoogleGenerativeAI } from '@google/generative-ai'

const apiKey = process.env.GENERATIVE_LANGUAGE_API_KEY
const apiKey = process.env.GEMINI_API_KEY
const genAI = new GoogleGenerativeAI(apiKey)

export const sendMessage = async(messages: ChatMessage[]) => {
Expand Down

0 comments on commit 42ac104

Please sign in to comment.