Skip to content

Update default enabled model presets#1000

Merged
PeterDaveHello merged 1 commit into
ChatGPTBox-dev:masterfrom
PeterDaveHello:update-default-model-presets
Jul 12, 2026
Merged

Update default enabled model presets#1000
PeterDaveHello merged 1 commit into
ChatGPTBox-dev:masterfrom
PeterDaveHello:update-default-model-presets

Conversation

@PeterDaveHello

@PeterDaveHello PeterDaveHello commented Jul 11, 2026

Copy link
Copy Markdown
Member

Promote newer Anthropic and OpenAI API models, along with two OpenRouter auto routers, to the default-enabled list.

Remove chatgptFree35 (ChatGPT Web) from the default-enabled list, as persistent login and unusual activity failures make its complex, reverse-engineered integration too costly to maintain with current resources (refs #469, #513, #630, #713, #770, and #794).

With OpenRouter auto routers now enabled by default, drop OpenRouter defaults tied to specific models: GPT-5.5, Claude Sonnet 4.6, and Gemini 3.5 Flash. This reduces per-model maintenance.

Summary by CodeRabbit

  • New Features

    • Updated the default available AI modes with newer ChatGPT, Claude, and OpenRouter options.
    • Added automatic and free OpenRouter selections to the default configuration.
  • Improvements

    • Removed outdated model options from the default selection list.

Promote newer Anthropic and OpenAI API models, along with two OpenRouter
auto routers, to the default-enabled list.

Remove chatgptFree35 (ChatGPT Web) from the default-enabled list, as
persistent login and unusual activity failures make its complex,
reverse-engineered integration too costly to maintain with current
resources (refs ChatGPTBox-dev#469, ChatGPTBox-dev#513, ChatGPTBox-dev#630, ChatGPTBox-dev#713, ChatGPTBox-dev#770, and ChatGPTBox-dev#794).

With OpenRouter auto routers now enabled by default, drop OpenRouter
defaults tied to specific models: GPT-5.5, Claude Sonnet 4.6, and Gemini
3.5 Flash. This reduces per-model maintenance.
@PeterDaveHello
PeterDaveHello requested a review from Copilot July 11, 2026 16:41
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 99844927-94ad-45b1-a74f-4e132f215a38

📥 Commits

Reviewing files that changed from the base of the PR and between ac4a44b and 87b907c.

📒 Files selected for processing (1)
  • src/config/index.mjs

📝 Walkthrough

Walkthrough

The default active API mode configuration replaces legacy presets with newer ChatGPT, Claude, and OpenRouter model variants while retaining selected existing modes.

Changes

Default API mode configuration

Layer / File(s) Summary
Update active API mode presets
src/config/index.mjs
defaultConfig.activeApiModes removes legacy ChatGPT and OpenRouter entries, adds newer ChatGPT, Claude, and OpenRouter presets, and retains selected existing modes.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: updating the default enabled model presets.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Summary by Qodo

Update default enabled model presets

✨ Enhancement ⚙️ Configuration changes 🕐 Less than 10 minutes

Grey Divider

AI Description

• Refresh default-enabled model presets to newer OpenAI and Anthropic API models.
• Enable OpenRouter auto routers by default and remove per-model OpenRouter defaults.
• Drop ChatGPT Web (chatgptFree35) from defaults due to recurring reliability/login failures.
Diagram

graph TD
  A["App startup"] --> B["defaultConfig"] --> C["activeApiModes (defaults)"] --> D["Model picker / routing"]
  C --> E["OpenAI API 5.6 presets"]
  C --> F["Anthropic API presets"]
  C --> G["OpenRouter auto routers"]
  C --> H["Removed: ChatGPT Web default"]

  subgraph Legend
    direction LR
    _app["Runtime"] ~~~ _cfg["Config list"] ~~~ _mode["Preset group"]
  end
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Remote/served defaults (config-driven rollout)
  • ➕ Can adjust default-enabled presets without shipping a client release
  • ➕ Supports gradual rollouts and quick rollback if a provider model deprecates
  • ➖ Requires new config hosting and trust/signing considerations
  • ➖ Adds runtime dependency and potential startup failure modes
2. Tiered defaults via feature flags (stable vs latest)
  • ➕ Keeps a conservative baseline while allowing an opt-in to newer models
  • ➕ Reduces surprise changes for existing/new users who expect stability
  • ➖ More UI/UX complexity and another setting to maintain
  • ➖ Still requires periodic curation of both tiers

Recommendation: The PR’s approach (curating the default-enabled list in defaultConfig) is appropriate for keeping startup behavior deterministic and minimizing moving parts. Consider a future evolution toward remote defaults or tiered/flagged defaults if model churn continues to create frequent releases strictly for preset curation.

Files changed (1) +8 / -4

Other (1) +8 / -4
index.mjsRevise default activeApiModes preset list +8/-4

Revise default activeApiModes preset list

• Updates the default-enabled API modes by removing chatgptFree35 and model-specific OpenRouter presets, while enabling newer OpenAI/Anthropic API presets and OpenRouter auto/free routers by default.

src/config/index.mjs

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the activeApiModes list in the default configuration of src/config/index.mjs. It removes several legacy or specific API modes, such as chatgptFree35 and specific OpenRouter models, and introduces new API modes including chatgptApi5_6 variants, claude API models, and generic OpenRouter options (openRouter_auto, openRouter_free). There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates ChatGPTBox’s default-enabled model presets (defaultConfig.activeApiModes) to reflect current reliability/maintenance realities: de-emphasize fragile ChatGPT Web defaults and promote newer OpenAI/Anthropic API presets plus OpenRouter routers.

Changes:

  • Removed chatgptFree35 (ChatGPT Web) from the default-enabled list.
  • Added default-enabled OpenAI API presets (chatgptApi5_6Sol/Terra/Luna) and newer Anthropic API presets (claudeOpus48Api, claudeSonnet5Api, claudeHaiku45Api).
  • Switched OpenRouter defaults from specific-model presets to router presets (openRouter_auto, openRouter_free).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kilo-code-bot

kilo-code-bot Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • src/config/index.mjs

Reviewed by hy3-20260706:free · Input: 28.3K · Output: 2.7K · Cached: 121.3K

@qodo-code-review

Copy link
Copy Markdown
Contributor

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Qodo Logo

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 87b907cf34

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/config/index.mjs
@PeterDaveHello
PeterDaveHello merged commit b05b194 into ChatGPTBox-dev:master Jul 12, 2026
4 checks passed
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.

2 participants