Skip to content

Allow creating custom providers during sign-in - #60186

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/339ac5807c5eecdae08df4dbd89874ea7c764d35
Nov 7, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/339ac5807c5eecdae08df4dbd89874ea7c764d35

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Allow creating custom providers during sign-in

Why

Custom-provider sign-in previously required a saved gateway configuration and stopped at an error when none existed.

What changed

  • Add “Create a custom provider or gateway” to the sign-in picker, reusing the settings form and provider-write handling.
  • Return to the picker after saving, highlight the new provider, and require explicit selection before setting it as the default and completing sign-in.
  • Preserve entered fields after validation failures and keep the focused field or Save action visible in short terminals.
  • Use consistent custom-provider and gateway wording across sign-in, settings, and validation messages.

Testing

Add onboarding tests and snapshots for an empty picker, creation, validation retries, short-terminal rendering, and explicit default selection. Extend app-server coverage for rejecting the reserved ollama-chat provider ID.

## Why

Custom-provider sign-in previously required a saved gateway configuration and stopped at an error when none existed.

## What changed

- Add “Create a custom provider or gateway” to the sign-in picker, reusing the settings form and provider-write handling.
- Return to the picker after saving, highlight the new provider, and require explicit selection before setting it as the default and completing sign-in.
- Preserve entered fields after validation failures and keep the focused field or Save action visible in short terminals.
- Use consistent custom-provider and gateway wording across sign-in, settings, and validation messages.

## Testing

Add onboarding tests and snapshots for an empty picker, creation, validation retries, short-terminal rendering, and explicit default selection. Extend app-server coverage for rejecting the reserved `ollama-chat` provider ID.

GitOrigin-RevId: 339ac5807c5eecdae08df4dbd89874ea7c764d35
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/339ac5807c5eecdae08df4dbd89874ea7c764d35 branch from e5dda1b to d960b36 Compare November 7, 2026 23:52
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-07T23:52:14.029244Z e5dda1b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit d960b36 into main Nov 7, 2026
8 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/339ac5807c5eecdae08df4dbd89874ea7c764d35 branch November 7, 2026 23:52
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 7, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — d960b366 Deployed Nov 8, 2026 by FoxsterDev via Translate non-English issue #25029
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants