Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

chore: add latest api as dep with alias

Daniel Avila28c8f066d923
diff --git a/api/package-lock.json b/api/package-lock.json
index 435c1f947c..da6e6d24ff 100644
--- a/api/package-lock.json
+++ b/api/package-lock.json
@@ -13,6 +13,7 @@
"@vscode/vscode-languagedetection": "^1.0.22",
"@waylaidwanderer/chatgpt-api": "^1.28.2",
"axios": "^1.3.4",
+ "chatgpt-latest": "npm:@waylaidwanderer/chatgpt-api@^1.31.6",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"dotenv": "^16.0.3",
@@ -2062,6 +2063,40 @@
"resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
"integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA=="
},
+ "node_modules/chatgpt-latest": {
+ "name": "@waylaidwanderer/chatgpt-api",
+ "version": "1.31.6",
+ "resolved": "https://registry.npmjs.org/@waylaidwanderer/chatgpt-api/-/chatgpt-api-1.31.6.tgz",
+ "integrity": "sha512-Db6UK1FRvaUWbFRb6Lg8xnvjkSKjjt4iKYRKPvGNL8LdAiR9Th9e5rLVGHIbGeVBgWWiWH54ei3lQO+oGX9A6w==",
+ "dependencies": {
+ "@dqbd/tiktoken": "^1.0.2",
+ "@fastify/cors": "^8.2.0",
+ "@waylaidwanderer/fastify-sse-v2": "^3.1.0",
+ "@waylaidwanderer/fetch-event-source": "^3.0.1",
+ "boxen": "^7.0.1",
+ "clipboardy": "^3.0.0",
+ "dotenv": "^16.0.3",
+ "fastify": "^4.11.0",
+ "fetch-undici": "^3.0.1",
+ "https-proxy-agent": "^5.0.1",
+ "inquirer": "^9.1.4",
+ "inquirer-autocomplete-prompt": "^3.0.0",
+ "keyv": "^4.5.2",
+ "keyv-file": "^0.2.0",
+ "ora": "^6.1.2",
+ "undici": "^5.20.0",
+ "ws": "^8.12.0"
+ },
+ "bin": {
+ "chatgpt-api": "bin/server.js",
+ "chatgpt-cli": "bin/cli.js"
+ }
+ },
+ "node_modules/chatgpt-latest/node_modules/@dqbd/tiktoken": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@dqbd/tiktoken/-/tiktoken-1.0.2.tgz",
+ "integrity": "sha512-AjGTBRWsMoVmVeN55NLyupyM8TNamOUBl6tj5t/leLDVup3CFGO9tVagNL1jf3GyZLkWZSTmYVbPQ/M2LEcNzw=="
+ },
"node_modules/chokidar": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
@@ -6688,6 +6723,37 @@
"resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
"integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA=="
},
+ "chatgpt-latest": {
+ "version": "npm:@waylaidwanderer/[email protected]",
+ "resolved": "https://registry.npmjs.org/@waylaidwanderer/chatgpt-api/-/chatgpt-api-1.31.6.tgz",
+ "integrity": "sha512-Db6UK1FRvaUWbFRb6Lg8xnvjkSKjjt4iKYRKPvGNL8LdAiR9Th9e5rLVGHIbGeVBgWWiWH54ei3lQO+oGX9A6w==",
+ "requires": {
+ "@dqbd/tiktoken": "^1.0.2",
+ "@fastify/cors": "^8.2.0",
+ "@waylaidwanderer/fastify-sse-v2": "^3.1.0",
+ "@waylaidwanderer/fetch-event-source": "^3.0.1",
+ "boxen": "^7.0.1",
+ "clipboardy": "^3.0.0",
+ "dotenv": "^16.0.3",
+ "fastify": "^4.11.0",
+ "fetch-undici": "^3.0.1",
+ "https-proxy-agent": "^5.0.1",
+ "inquirer": "^9.1.4",
+ "inquirer-autocomplete-prompt": "^3.0.0",
+ "keyv": "^4.5.2",
+ "keyv-file": "^0.2.0",
+ "ora": "^6.1.2",
+ "undici": "^5.20.0",
+ "ws": "^8.12.0"
+ },
+ "dependencies": {
+ "@dqbd/tiktoken": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@dqbd/tiktoken/-/tiktoken-1.0.2.tgz",
+ "integrity": "sha512-AjGTBRWsMoVmVeN55NLyupyM8TNamOUBl6tj5t/leLDVup3CFGO9tVagNL1jf3GyZLkWZSTmYVbPQ/M2LEcNzw=="
+ }
+ }
+ },
"chokidar": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
diff --git a/api/package.json b/api/package.json
index 63c63b959c..64b8c3a5ab 100644
--- a/api/package.json
+++ b/api/package.json
@@ -23,6 +23,7 @@
"@vscode/vscode-languagedetection": "^1.0.22",
"@waylaidwanderer/chatgpt-api": "^1.28.2",
"axios": "^1.3.4",
+ "chatgpt-latest": "npm:@waylaidwanderer/chatgpt-api@^1.31.6",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"dotenv": "^16.0.3",