gpt4free-ts icon indicating copy to clipboard operation
gpt4free-ts copied to clipboard

Providing a free OpenAI GPT-4 API ! This is a replication project for the typescript version of xtekky/gpt4free

Results 69 gpt4free-ts issues
Sort by recently updated
recently updated
newest added

ubuntu@ip-172-26-15-236:~/src/gpt4free-ts$ yarn start yarn run v1.22.19 $ ts-node index.ts /home/ubuntu/src/gpt4free-ts/node_modules/tls-client/dist/sessions.js:44 this.clientIdentifier = options?.clientIdentifier; ^ SyntaxError: Unexpected token '.' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Object.require.extensions. [as...

I didn't use Docker to package the project. I ran Yarn Start locally and reported an error when using the following command: `curl " http://127.0.0.1:3000/ask?prompt=hello&model=forefront&gptmodel=gpt -4&resignup=1"` I am not very...

I created an image in Dockerhub that can be run to use the project. ``` docker run --env rapid_api_key =xxxx atorber/gpt4free-ts:latest ```

curl 请求之后返回了 你好!很高兴为您提供帮助。请问有什么问题我可以帮您解答吗? SyntaxError: Unexpected token 你 in JSON at position 0 按照文档 curl "http://127.0.0.1:3000/ask?prompt=你好啊&model=forefront&gptmodel=gpt-4&resignup=1" 执行之后报错,看着它不是json却用json进行了解析

Hi, yarn failed on my ubuntu 22.04, the error shows as below. How to solve it? ``` # yarn yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking...

I beautified the Error Logging in the `Index.ts` Beautified and added error logging to the Token Parser in the emailFactory

https://tay.needs.rest/notepad_RIBQXT2O6v.png https://tay.needs.rest/Code_Z6Tt7c4M0W.png

curl "http://127.0.0.1:3000/ask?prompt=hello&model=forefront&gptmodel=gpt-4&resignup=0" {"message":"Cannot read properties of undefined (reading 'status')"}%

Error: Failed to create account! sign email res parse token failed! at Forefront. (/Users/xx/Workspace/github/gpt4free-ts/model/forefront/index.ts:221:19) at Generator.next () at fulfilled (/Users/xx/Workspace/github/gpt4free-ts/model/forefront/index.ts:5:58)