FMG-11: Add ChatGPT as a third usage provider #1
Loading…
Reference in a new issue
No description provided.
Delete branch "butterrobot/fmg-11-chatgpt-provider"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a ChatGPT provider alongside Cursor and Claude with the same three auth modes: auto (Codex CLI session from ~/.codex/auth.json, CODEX_HOME aware), manual access token, and OpenAI Admin API key for 7-day tokens and cost. Also extracts a shared JWT payload helper reused by CursorAuthService, replaces the duplicated provider lookup with ProviderID.provider, builds the Settings provider tabs from ProviderID.allCases, and starts newly-introduced providers disabled for existing installs. The ChatGPT usage endpoint is unofficial (same caveat the README carries for Cursor and Claude) and could not be exercised against a live account from the build environment.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.