Skip to content

Add ChatGPT sign-in for model profiles - #688

Draft
Bender1011001 wants to merge 1 commit into
BaaRai:mainfrom
Bender1011001:feature/chatgpt-sign-in
Draft

Bender1011001 wants to merge 1 commit into
BaaRai:mainfrom
Bender1011001:feature/chatgpt-sign-in

Conversation

@Bender1011001

Copy link
Copy Markdown

What changes

Add a ChatGPT account connection flow and allow a saved account and model to be used by ARTEX model profiles. The integration encrypts account tokens at rest, refreshes them through the provider, and exposes connection and sign-out status in the profile editor. This branch also includes the existing OpenRouter profile support and model selector changes that were developed alongside the sign-in integration.

The browser callback defaults to loopback port 8787. Set ARTEX_CHATGPT_CALLBACK_PORT to the externally published loopback port for a local instance on another port. The server checks that the console and callback use that exact loopback host and port.

Validation

  • Passed Go tests for agent, db, chatgptauth, and chatgptplan packages, and the server ChatGPT and OAuth tests.
  • Frontend TypeScript check passed.
  • Full Windows server test run fails TestSkillRelPath because it expects Unix path separators.
  • Frontend localization check currently reports missing Vietnamese translations for the new strings. This is a draft until those translations and a fresh end-to-end sign-in test are completed.
  • The local stock-based Docker build started on port 8797. A real sign-in on that instance has not yet been verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant