Skip to content

Commit

Permalink
updated packages and file rename
Browse files Browse the repository at this point in the history
  • Loading branch information
nheek committed Feb 11, 2024
1 parent 4856e71 commit e36a93a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
"dependencies": {
"@nextui-org/react": "^2.2.9",
"aos": "^2.3.4",
"dotenv": "^16.4.1",
"framer-motion": "^10.18.0",
"next": "^13.5.4",
"dotenv": "^16.4.2",
"framer-motion": "^11.0.3",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "18.2.48",
"@types/node": "20.11.8",
"autoprefixer": "^10.4.16",
"css-loader": "^6.9.0",
"@types/react": "18.2.55",
"@types/node": "20.11.17",
"autoprefixer": "^10.4.17",
"css-loader": "^6.10.0",
"next-compose-plugins": "^2.2.1",
"next-transpile-modules": "^10.0.1",
"postcss": "^8.4.33",
"postcss-loader": "^7.3.4",
"postcss": "^8.4.35",
"postcss-loader": "^8.1.0",
"style-loader": "^3.3.4",
"tailwindcss": "^3.4.1",
"typescript": "5.3.3"
Expand Down
3 changes: 3 additions & 0 deletions pages/api/open-ai.tsx → pages/api/open-ai.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import dotenv from 'dotenv';
dotenv.config();

const fetchChatGPT = async (messages) => {
try {
// Retrieve the OpenAI API key from environment variables
Expand Down

0 comments on commit e36a93a

Please sign in to comment.