-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChatGPTUnofficialProxyAPI Not Working #632
Comments
is anyone able to use the unofficial proxy API? Also, where can i see a more comprehensive list of reverse proxies? Thanks in advance. |
Yeah I'm having the same problem :( |
can i be assigned to solve this |
same problem :( |
pandora proxy? where can i see its address? or a list of another available addresses? |
You need install it on vps and config |
Verify latest release
chatgpt
releaseVerify webapp is working
Environment details
{
"name": "tempproject",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"start": "nodemon index.mjs"
},
"author": "",
"license": "ISC",
"dependencies": {
"chat-gpt-authenticator": "^0.5.0",
"chatgpt": "^5.2.5",
"chatgpt-io": "^1.1.4",
"dotenv": "^16.3.1",
"nodemon": "^3.0.2",
"openai-authenticator": "^0.0.3",
"openai-token": "^1.0.0",
"ora": "^7.0.1",
"puppeteer": "^21.5.2",
"unofficial-chatgpt-api": "^1.6.0"
}
}
Node: 18v
OS: Windows 10
Browser: Chrome
Describe the Bug
When I request using ChatGPTUnofficialProxyAPI it get stuck and didn't get the response.
Code:
import { ChatGPTUnofficialProxyAPI } from 'chatgpt'
import { oraPromise } from 'ora'
import { configDotenv } from 'dotenv'
configDotenv()
async function example() {
//console.log(process.env.ACCESS_TOKEN)
const api = new ChatGPTUnofficialProxyAPI({
accessToken: process.env.ACCESS_TOKEN
})
const prompt = 'Hi how are you'
let res = await oraPromise(api.sendMessage(prompt), {
text: prompt
})
console.log('\n' + res.text + '\n')
// let chatResponse = await api.sendMessage(prompt)
// console.log(chatResponse)
// console.log("asad2")
}
example().catch((err) => {
console.error(err)
process.exit(1)
})
The text was updated successfully, but these errors were encountered: