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
thin-gate: ChatGptAuth, an AuthPolicy giving chatgpt/ a fresh access
token for the host's signed-in account and every other provider to LocalAuth. The token comes from node <mohdel/chatgpt/bin> access, is
cached until its refreshAt, one helper run at a time; a run is killed at
70 s. Exported from hooks and the prelude.
mohdel/chatgpt/bin: access [--account <id>] prints {"accessToken", "refreshAt"} on stdout, or the error on stderr with exit 1.
access() returns refreshAt, the time its token stops being handed out.
Changed
The chatgpt/ adapter fetches an account's model list once per access token
instead of before every call.
Fixed
A corrupt ChatGPT credential store fails with its path instead of a parse
error quoting its content.
ARCHITECTURE.md lists AuthPolicy among the hooks and auth in GateState.