[PR #6547] [MERGED] Add GPT-6 Sol and Luna model support #7221

Closed
opened 2026-10-23 04:17:39 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6547
Author: @SpicyMarinara
Created: 9/22/2026
Status: ✅ Merged
Merged: 9/22/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/sept22-gpt6-sol-luna


📝 Commits (4)

  • fdf2730 docs: record GPT-6 Sol and Luna support scope
  • f6b43d7 feat: add GPT-6 Sol and Luna connection support
  • 51774b4 Merge remote-tracking branch 'origin/staging' into codex/sept22-gpt6-sol-luna
  • 1c95222 docs: clarify GPT-6 sampling compatibility

📊 Changes

7 files changed (+294 additions, -152 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
➕ e2e/gpt6-models.e2e.ts (+75 -0)
📝 packages/server/src/routes/connections.routes.ts (+2 -2)
📝 packages/server/src/routes/generate.routes.ts (+2 -0)
📝 packages/server/src/services/llm/providers/openai.provider.ts (+24 -13)
📝 packages/shared/src/constants/model-lists.ts (+10 -4)
📝 scripts/regressions/gpt-6-astra.regression.ts (+179 -133)

📄 Description

Linked issue

Closes #6546

Why this change

GPT-6 Sol and Luna need built-in model selection and compatible requests through the existing OpenAI connections. Both support reasoning Off and sampling with reasoning disabled; reasoning with tools needs Responses. Reusing Astra's settings unchanged would lose those distinctions.

What changed

  • Added gpt-6-sol and gpt-6-luna with 1,050,000-token context and 128,000-token output metadata.
  • Reused the existing GPT-6 request builders for Responses, streaming, tools and replay, verbosity, and past reasoning. Off remains none for Sol/Luna; Maximum resolves to max.
  • Suppressed unsupported samplers/log probabilities when reasoning is enabled, including when the effort parameter is omitted. OpenRouter aliases retain its Chat Completions transport and unified reasoning field. Generic custom connections retain their transport and existing explicit custom-parameter override policy.
  • Updated connection-test diagnostics and generation debug output. Expanded the existing GPT-6 regression matrix and added selection/settings persistence checks in the existing connection editor.

This is a separate PR from Claude Opus 5.5 (#6545), now merged into staging. The branch incorporates that staging update without repeating its feature changes in this PR's diff.

Ground truth: GPT-6 Sol, GPT-6 Luna, and GPT-6 API compatibility.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Automated results:

  • pnpm check passed on the integrated branch (localization, formatting, types, lint, production build).
  • Expanded GPT-6 provider regressions passed for Astra/Sol/Luna: buffered and streamed requests, reasoning Off through Maximum, parameter switches, sampling/log probabilities, images, tools and replay, custom endpoints, and OpenRouter aliases.
  • Existing provider compatibility and caching regressions passed. Opus 5.5's seven regression cases also passed after integrating staging.
  • Playwright: six model-picker and settings persistence checks passed across desktop Chromium, mobile Chromium, and iPhone-sized WebKit. Both light and dark layouts were visually inspected.
  • Negative proof: restoring the catalog without Sol/Luna reproduced the missing selectable model and failed the new browser assertion. The OpenRouter assertion also reproduced Astra's legacy flat effort field before normalizing it to the existing unified field.

Manual verification notes

Browser automation selected both models, verified their limits, saved reasoning Off and Maximum, and reloaded to verify persistence. Original screenshots were visually inspected. Synthetic connections and local provider fixtures only; no existing chat data or credentials were used.

Manually verify a real generation with an account that has access to the requested models; no billed model call was made. No physical-phone test. A local container build/run was not repeated with less than 3 GiB available on the host; GitHub runs container checks separately.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

Changelog entry included. No new UI copy, docs pages, dependencies, release versions, or storage formats. Human checkboxes intentionally remain unchecked.

UI evidence (if applicable)

Before/after browser evidence: original screenshots of the missing-model state, selectable Sol/Luna models, and persisted mobile reasoning settings. The gist contains a self-contained HTML viewer.

Local CodeRabbit review completed with two small findings: reasoning-field assertion coverage and a sampling compatibility comment. Both are addressed. The final local recheck completed across all seven changed files with zero findings. GitHub checks and CodeRabbit review must complete before merge.

Summary by CodeRabbit

  • New Features
    • Added GPT-6 Sol and GPT-6 Luna as selectable OpenAI models.
    • Added documented model limits, including a 1.1M maximum context window and 128K output capacity.
    • Added reasoning-effort controls for GPT-6 Sol and Luna, including disabling reasoning or selecting maximum effort.
    • Added support for streaming responses and tool requests with these models.
  • Bug Fixes
    • Improved GPT-6 model handling across supported OpenAI-compatible connections.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6547 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/22/2026 **Status:** ✅ Merged **Merged:** 9/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/sept22-gpt6-sol-luna` --- ### 📝 Commits (4) - [`fdf2730`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fdf27303b03ad87a41f38bad77ea73db6dccdb2d) docs: record GPT-6 Sol and Luna support scope - [`f6b43d7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f6b43d78f53ec7e597851c214e8103b937d1ef05) feat: add GPT-6 Sol and Luna connection support - [`51774b4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/51774b47897f1e2374cd1a1d07ac118e838598a0) Merge remote-tracking branch 'origin/staging' into codex/sept22-gpt6-sol-luna - [`1c95222`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1c95222f9d87da01da869afa67c80085d524bfe6) docs: clarify GPT-6 sampling compatibility ### 📊 Changes **7 files changed** (+294 additions, -152 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) ➕ `e2e/gpt6-models.e2e.ts` (+75 -0) 📝 `packages/server/src/routes/connections.routes.ts` (+2 -2) 📝 `packages/server/src/routes/generate.routes.ts` (+2 -0) 📝 `packages/server/src/services/llm/providers/openai.provider.ts` (+24 -13) 📝 `packages/shared/src/constants/model-lists.ts` (+10 -4) 📝 `scripts/regressions/gpt-6-astra.regression.ts` (+179 -133) </details> ### 📄 Description ## Linked issue Closes #6546 ## Why this change GPT-6 Sol and Luna need built-in model selection and compatible requests through the existing OpenAI connections. Both support reasoning Off and sampling with reasoning disabled; reasoning with tools needs Responses. Reusing Astra's settings unchanged would lose those distinctions. ## What changed - Added `gpt-6-sol` and `gpt-6-luna` with 1,050,000-token context and 128,000-token output metadata. - Reused the existing GPT-6 request builders for Responses, streaming, tools and replay, verbosity, and past reasoning. Off remains `none` for Sol/Luna; Maximum resolves to `max`. - Suppressed unsupported samplers/log probabilities when reasoning is enabled, including when the effort parameter is omitted. OpenRouter aliases retain its Chat Completions transport and unified reasoning field. Generic custom connections retain their transport and existing explicit custom-parameter override policy. - Updated connection-test diagnostics and generation debug output. Expanded the existing GPT-6 regression matrix and added selection/settings persistence checks in the existing connection editor. This is a separate PR from Claude Opus 5.5 (#6545), now merged into staging. The branch incorporates that staging update without repeating its feature changes in this PR's diff. Ground truth: [GPT-6 Sol](https://developers.openai.com/api/docs/models/gpt-6-sol), [GPT-6 Luna](https://developers.openai.com/api/docs/models/gpt-6-luna), and [GPT-6 API compatibility](https://developers.openai.com/api/docs/guides/latest-model/gpt-6-astra.md#migration-quickstart). ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Automated results: - `pnpm check` passed on the integrated branch (localization, formatting, types, lint, production build). - Expanded GPT-6 provider regressions passed for Astra/Sol/Luna: buffered and streamed requests, reasoning Off through Maximum, parameter switches, sampling/log probabilities, images, tools and replay, custom endpoints, and OpenRouter aliases. - Existing provider compatibility and caching regressions passed. Opus 5.5's seven regression cases also passed after integrating staging. - Playwright: six model-picker and settings persistence checks passed across desktop Chromium, mobile Chromium, and iPhone-sized WebKit. Both light and dark layouts were visually inspected. - Negative proof: restoring the catalog without Sol/Luna reproduced the missing selectable model and failed the new browser assertion. The OpenRouter assertion also reproduced Astra's legacy flat effort field before normalizing it to the existing unified field. ### Manual verification notes Browser automation selected both models, verified their limits, saved reasoning Off and Maximum, and reloaded to verify persistence. Original screenshots were visually inspected. Synthetic connections and local provider fixtures only; no existing chat data or credentials were used. Manually verify a real generation with an account that has access to the requested models; no billed model call was made. No physical-phone test. A local container build/run was not repeated with less than 3 GiB available on the host; GitHub runs container checks separately. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) Changelog entry included. No new UI copy, docs pages, dependencies, release versions, or storage formats. Human checkboxes intentionally remain unchecked. ## UI evidence (if applicable) [Before/after browser evidence](https://gist.github.com/SpicyMarinara/e50ae8272215b36fe8199d6dbeded663): original screenshots of the missing-model state, selectable Sol/Luna models, and persisted mobile reasoning settings. The gist contains a self-contained HTML viewer. Local CodeRabbit review completed with two small findings: reasoning-field assertion coverage and a sampling compatibility comment. Both are addressed. The final local recheck completed across all seven changed files with zero findings. GitHub checks and CodeRabbit review must complete before merge. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added GPT-6 Sol and GPT-6 Luna as selectable OpenAI models. - Added documented model limits, including a 1.1M maximum context window and 128K output capacity. - Added reasoning-effort controls for GPT-6 Sol and Luna, including disabling reasoning or selecting maximum effort. - Added support for streaming responses and tool requests with these models. - **Bug Fixes** - Improved GPT-6 model handling across supported OpenAI-compatible connections. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:17:39 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7221
No description provided.