agentic icon indicating copy to clipboard operation
agentic copied to clipboard

ChatGPTUnofficialProxyAPI Not Working

Open asad-ullah321 opened this issue 1 year ago • 6 comments

Verify latest release

  • [X] I verified that the issue exists in the latest chatgpt release

Verify webapp is working

  • [X] I verify that the ChatGPT webapp is working properly for this account.

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) })

asad-ullah321 avatar Dec 04 '23 19:12 asad-ullah321

is anyone able to use the unofficial proxy API? it was still working fine about 2-3 weeks ago.

Also, where can i see a more comprehensive list of reverse proxies? I've tried with both of those that are listed in the Readme.

Thanks in advance.

ezekiel747 avatar Dec 09 '23 18:12 ezekiel747

Yeah I'm having the same problem :(

andrewboldi avatar Dec 13 '23 09:12 andrewboldi

can i be assigned to solve this

devadigapratham avatar Jan 05 '24 03:01 devadigapratham

same problem :( Pandora proxy has 100 req/day limit =(

deadmenrr avatar Jan 07 '24 12:01 deadmenrr

same problem :( Pandora proxy has 100 req/day limit =(

pandora proxy? where can i see its address? or a list of another available addresses? I only have those two from the Readme file.

ezekiel747 avatar Jan 07 '24 18:01 ezekiel747

same problem :( Pandora proxy has 100 req/day limit =(

pandora proxy? where can i see its address? or a list of another available addresses? I only have those two from the Readme file.

You need install it on vps and config

deadmenrr avatar Jan 08 '24 07:01 deadmenrr

This project is undergoing a major revamp; closing out old issues as part of the prep process.

The chatgpt package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.

transitive-bullshit avatar Jun 07 '24 05:06 transitive-bullshit