kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/155/head
rodzic
619ddd9148
commit
8a0043d343
|
@ -41,6 +41,8 @@ export abstract class AChatGPTAPI {
|
||||||
/**
|
/**
|
||||||
* Refreshes the current ChatGPT session.
|
* Refreshes the current ChatGPT session.
|
||||||
*
|
*
|
||||||
|
* Useful for bypassing 403 errors when Cloudflare clearance tokens expire.
|
||||||
|
*
|
||||||
* @returns Access credentials for the new session.
|
* @returns Access credentials for the new session.
|
||||||
* @throws An error if it fails.
|
* @throws An error if it fails.
|
||||||
*/
|
*/
|
||||||
|
@ -49,6 +51,8 @@ export abstract class AChatGPTAPI {
|
||||||
/**
|
/**
|
||||||
* Closes the current ChatGPT session and starts a new one.
|
* 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.
|
* @returns Access credentials for the new session.
|
||||||
* @throws An error if it fails.
|
* @throws An error if it fails.
|
||||||
*/
|
*/
|
||||||
|
|
Ładowanie…
Reference in New Issue