Skip to content

Commit

Permalink
Log error
Browse files Browse the repository at this point in the history
  • Loading branch information
nganiet committed Aug 21, 2024
1 parent 04ec1c4 commit 1388d03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/api/identify/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { NextRequest, NextResponse } from 'next/server';
import { GoogleGenerativeAI, Part } from '@google/generative-ai';
import { Console } from 'console';

console.log("GOOGLE_GEMINI_API_KEY = " + process.env.GOOGLE_GEMINI_API_KEY!);
const genAI = new GoogleGenerativeAI(process.env.GOOGLE_GEMINI_API_KEY!);


Expand Down
2 changes: 1 addition & 1 deletion build/static/chunks/app/layout.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/static/chunks/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "4014fbaf48bef886"; }
/******/ __webpack_require__.h = function() { return "7019dec24adbf8d5"; }
/******/ }();
/******/
/******/ /* webpack/runtime/global */
Expand Down

0 comments on commit 1388d03

Please sign in to comment.