mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1103] [MERGED] Fix OpenRouter Gemini reasoning replay #4922
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#4922
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/1103
Author: @cha1latte
Created: 5/22/2026
Status: ✅ Merged
Merged: 5/22/2026
Merged by: @cha1latte
Base:
staging← Head:fix/issue-1097-openrouter-gemini-reasoning📝 Commits (1)
d5718f6Fix OpenRouter Gemini reasoning replay📊 Changes
2 files changed (+31 additions, -11 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+9 -1)📝
packages/server/src/services/llm/providers/openai.provider.ts(+22 -10)📄 Description
Linked issue
Closes #1097
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm --filter @marinara-engine/server exec tsx ../../scratch/issue-1097-repro.mjs google/gemini-3.5-flash google-vertex/global ../../scratch/issue-1097-after-gemini.jsonnow shows no replayed assistantreasoning/reasoning_detailsand no captured Gemini reasoning for future replay.pnpm --filter @marinara-engine/server exec tsx ../../scratch/issue-1097-repro.mjs deepseek/deepseek-r1 default ../../scratch/issue-1097-after-deepseek.jsonstill replays/captures reasoning metadata for DeepSeek.pnpm --filter @marinara-engine/server exec tsx ../../scratch/issue-1097-repro.mjs anthropic/claude-sonnet-4 default ../../scratch/issue-1097-after-claude.jsonkeeps OpenRouter unified reasoning replay suppressed.pnpm checkpassed locally.Docs and release impact
UI evidence (if applicable)
N/A - server/provider message serialization change.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.