mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2544] [Issue]: [THINK] tags not parsed as thinking #1260
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#1260
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?
Originally created by @rgwb10 on GitHub (Jun 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2544
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Mistral 3.5 uses [THINK] [/THINK] tags for thinking. The tags and thinking text is shown as plain text in the chat.
https://unsloth.ai/docs/models/mistral-3.5
Expected behavior
The [THINK] ... [/THINK] tags and contents should be hidden because it is thinking and not the actual reply.
Actual behavior
The [THINK] ... [/THINK] tags and thinking text is shown as plain text in the chat.
Steps to reproduce
Environment
3663484Logs, screenshots, or video
Additional context
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 13, 2026):
I'll add in Advanced Parameters in all modes, custom thinking tags so you can specify any for the models you use, and they will be correctly caught and rendered as thoughts in the View Thoughts section.
@SpicyMarinara commented on GitHub (Jun 13, 2026):
Codex is taking this in branch
fix/issues-2544-2548-thinking-game-lorebooks. I’ll add configurable thinking tag parsing in Advanced Parameters and close this once the fix is merged.@SpicyMarinara commented on GitHub (Jun 13, 2026):
Resolved in PR #2549, merged into staging.\n\nWhat changed:\n- and related bracket-style thinking tags are now recognized as built-in inline thinking delimiters.\n- Advanced Parameters now has custom Thinking Tags for additional model-specific delimiters.\n- Streaming and final server cleanup both use the shared tag handling so raw thinking tags do not remain in chat content.
@SpicyMarinara commented on GitHub (Jun 13, 2026):
Correction to the previous bullet:
[THINK]...[/THINK]and related bracket-style thinking tags are now recognized as built-in inline thinking delimiters.