Skip to content

mohdel v3.6.0

Choose a tag to compare

@clbrge clbrge released this 30 Sep 08:02
· 86 commits to main since this release

Added

  • 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.