mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7469
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7090
Author: @SpicyMarinara
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/codex-thinking-level-7083📝 Commits (7)
db0bf04fix(codex): let Codex connections set the thinking levelba6aa93fix(codex): keep Codex levels valid and Default unchanged18809f3Merge remote-tracking branch 'origin/staging' into fix/codex-thinking-level-7083da15c47Merge remote-tracking branch 'origin/staging' into fix/codex-thinking-level-7083c597878Merge branch 'staging' into fix/codex-thinking-level-7083b04ce52Merge remote-tracking branch 'origin/staging' into fix/codex-thinking-level-7083100bfdbMerge remote-tracking branch 'origin/fix/codex-thinking-level-7083' into fix/codex-thinking-level-7083📊 Changes
19 files changed (+498 additions, -40 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
docs/connections/providers-reference.md(+1 -1)📝
docs/connections/subscription-clis.md(+2 -0)➕
e2e/codex-reasoning-effort.e2e.ts(+94 -0)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+14 -4)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+6 -2)📝
packages/client/src/components/game/GameSetupWizard.tsx(+8 -2)📝
packages/client/src/components/ui/GenerationParametersEditor.tsx(+8 -1)📝
packages/client/src/localization/locales/en.json(+1 -0)📝
packages/server/src/routes/generate/dry-run-route.ts(+5 -1)📝
packages/server/src/routes/generate/parameter-preview-route.ts(+2 -0)📝
packages/server/src/services/generation/generation-parameters.ts(+12 -0)📝
packages/server/src/services/generation/provider-generation-runtime.ts(+12 -2)📝
packages/server/src/services/llm/connection-fallback-provider.ts(+10 -7)📝
packages/server/src/services/llm/providers/openai.provider.ts(+14 -2)📝
packages/shared/src/constants/generation-parameter-relevance.ts(+17 -16)📝
packages/shared/src/constants/model-lists.ts(+10 -1)➕
scripts/regressions/codex-reasoning-effort.regression.ts(+279 -0)📝
scripts/regressions/generation-parameter-relevance.regression.ts(+1 -1)📄 Description
Linked issue
Closes #7083
Why this change
What changed
reasoning: { effort }, converted to one the model accepts (GPT-5.5: low–xhigh; GPT-5.6/GPT-6: low–max, per Codex's model catalog). Nothing is sent when the level is unset or Default, the send switch is off, or the model doesn't reason or isn't known.en.jsonkey).docs/connections/subscription-clis.md,docs/connections/providers-reference.md. CHANGELOG entry under [Unreleased].Known behaviour changes (in the CHANGELOG):
Validation
Agent-run (no real OpenAI/Codex endpoint was called; tests use a temporary
CODEX_HOME, a local stub server and a stubbed model list):pnpm checkpasses (includeslocalization:check, format, lint, e2e types, build).New node regression
scripts/regressions/codex-reasoning-effort.regression.tsfails on staging and passes here. It sends each level through a stub and checks the request body, the cases where the field is left out, conversion for gpt-5.5, the Codex fallback, the order of preset/connection/chat/scene, the panel choices and the default model.31 related node regressions pass (generation-parameter-relevance, provider-compat, robustness-provider-resilience, prompt, connection-test-parameters, game-generation-parameters, open-issues, gpt-6-astra, codex-chatgpt-image, and others).
E2e
e2e/codex-reasoning-effort.e2e.tspasses on desktop-chromium and mobile-chromium;generation-parameter-controls,gpt6-modelsandclaude-sonnet55pass on desktop.Not run: CodeRabbit (to be run before ready-for-review).
pnpm checkpasses locallyContainer (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.mdManual verification notes
e2e/claude-opus55.e2e.ts(2 tests) fails identically on unmodified staging (checked on9d3d6154d), so it is not caused by this branch. Local CodeRabbit CLI was rate-limited (shared quota); GitHub CodeRabbit reviews the PR.codex login, open an OpenAI (ChatGPT) connection, turn on Use custom defaults for this connection and check that Reasoning Effort starts at Default.reasoning.effortand Codex accepts it.reasoningfield is sent.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation). Needed fordocs/connections/subscription-clis.mdanddocs/connections/providers-reference.md.UI evidence (if applicable)
codex-reasoning-effort.png).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.