Commit 8a0043d3 authored by Travis Fischer's avatar Travis Fischer

🐆

parent 619ddd91
...@@ -41,6 +41,8 @@ export abstract class AChatGPTAPI { ...@@ -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 { ...@@ -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.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment