You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* refactor: remove unofficial api support
Signed-off-by: Bob Du <[email protected]>
* refactor: use openai-ts sdk
Signed-off-by: Bob Du <[email protected]>
* docs: update readme remove unofficial api support
Signed-off-by: Bob Du <[email protected]>
---------
Signed-off-by: Bob Du <[email protected]>
1.`ChatGPTAPI` uses `gpt-3.5-turbo-0301` to simulate `ChatGPT` through the official `OpenAI` completion `API` (the most reliable method, but it is not free and does not use models specifically tuned for chat).
91
-
2.`ChatGPTUnofficialProxyAPI` accesses `ChatGPT`'s backend `API` via an unofficial proxy server to bypass `Cloudflare` (uses the real `ChatGPT`, is very lightweight, but depends on third-party servers and has rate limits).
84
+
`ChatGPTAPI` uses `gpt-4.1` through the official `OpenAI` completion `API` (requires an API key).
0 commit comments