mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2549] [MERGED] Fix thinking tags and Game lorebook scan context #5649
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#5649
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/2549
Author: @SpicyMarinara
Created: 6/13/2026
Status: ✅ Merged
Merged: 6/13/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/issues-2544-2548-thinking-game-lorebooks📝 Commits (1)
092e73cFix thinking tags and game lorebook scans📊 Changes
12 files changed (+509 additions, -151 deletions)
View changed files
📝
packages/client/src/components/ui/GenerationParametersEditor.tsx(+111 -1)📝
packages/client/src/hooks/use-generate.ts(+66 -62)📝
packages/server/src/routes/game.routes.ts(+30 -9)📝
packages/server/src/routes/generate.routes.ts(+35 -22)📝
packages/server/src/routes/generate/generate-route-utils.ts(+4 -0)📝
packages/server/src/routes/lorebooks.routes.ts(+20 -1)📝
packages/server/src/services/llm/inline-thinking.ts(+2 -56)📝
packages/shared/src/constants/defaults.ts(+1 -0)📝
packages/shared/src/index.ts(+1 -0)📝
packages/shared/src/schemas/prompt.schema.ts(+9 -0)📝
packages/shared/src/types/prompt.ts(+4 -0)➕
packages/shared/src/utils/thinking-tags.ts(+226 -0)📄 Description
Summary
[THINK]...[/THINK]plus custom Thinking Tags in Advanced Parameters.Fixes #2544
Fixes #2548
Local Validation
Run locally:
pnpm check[THINK]extraction and chunked custom thinking-tag streamingManual Verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.