Skip to content

Commit

Permalink
Update ChatWindow.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
adnangif committed Feb 26, 2024
1 parent d8a1439 commit 8a16107
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ChatWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export default function ChatWindow() {
type:'user',body:current_prompt
}])

console.log(GEMINI_API_KEY)

const genAI = new GoogleGenerativeAI(GEMINI_API_KEY);
const model = genAI.getGenerativeModel({ model: "gemini-pro" });

Expand Down

0 comments on commit 8a16107

Please sign in to comment.