pull/155/head
Travis Fischer 2022-12-16 23:48:56 -06:00
rodzic 619ddd9148
commit 8a0043d343
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -41,6 +41,8 @@ export abstract class AChatGPTAPI {
/**
* Refreshes the current ChatGPT session.
*
* Useful for bypassing 403 errors when Cloudflare clearance tokens expire.
*
* @returns Access credentials for the new session.
* @throws An error if it fails.
*/
@ -49,6 +51,8 @@ export abstract class AChatGPTAPI {
/**
* Closes the current ChatGPT session and starts a new one.
*
* Useful for bypassing 401 errors when sessions expire.
*
* @returns Access credentials for the new session.
* @throws An error if it fails.
*/