Closed sunfishlk closed 1 month ago
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.
Verify latest release
chatgpt
releaseVerify webapp is working
Environment details
node : v18.11.0 OS : win11 browser : edge
Describe the Bug
⠋ Write a python version of bubble sort. Do not include example usage.(node:6704) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time (Use![屏幕截图 2024-04-26 170920](https://github.com/transitive-bullshit/chatgpt-api/assets/110211545/8bcf8565-176d-4264-bae5-51315c0c2b98)
node --trace-warnings ...
to show where the warning was created) ✖ Write a python version of bubble sort. Do not include example usage. TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11118:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at Promise.then.promptTokens (d:\%E5%AD%A6%E4%B9%A0\%E8%AF%BE%E5%A4%96\ChatGPT API\chatgpt-api\src\chatgpt-api.ts:251:25) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:6625:28) at node:internal/deps/undici/undici:6583:50 at Immediate._onImmediate (node:internal/deps/undici/undici:6612:37) at process.processImmediate (node:internal/timers:471:21) { code: 'UND_ERR_CONNECT_TIMEOUT' }}