[GH-ISSUE #925] [Feature]: Add "Start Replay With" to connection settings #450

Closed
opened 2026-10-20 17:29:01 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @rgwb10 on GitHub (May 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/925

What problem does this solve?

Some (local) models don't start their reasoning block with <think>, so the reply looks like

[thinking block]</think>
[response]

This is by design. QwQ-32B is a well known example that has caused headaches in multiple other projects.

Note that this is different from the existing "Assistant Prefill" option.

Proposed solution

SillyTavern has the option under AI Response Formatting "Start Replay With". Putting <think> as the reply start fixed the missing start tag and the thinking block is properly parsed.

Alternatives considered

As an alternative, we might consider just looking for an ending </think> tag and splitting the reply there. Although that might cause problems if the reply body happened to contain the string </think>.

Additional context

It's also worth considering that not all models use <think> for the reasoning block.

Maybe a bigger solution is needed to handle all possible variations, known and unknown.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @rgwb10 on GitHub (May 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/925 ## What problem does this solve? Some (local) models don't start their reasoning block with `<think>`, so the reply looks like ``` [thinking block]</think> [response] ``` This is by design. QwQ-32B is a well known example that has [caused headaches in multiple other projects](https://github.com/theroyallab/tabbyAPI/issues/299). Note that this is different from the existing "Assistant Prefill" option. ## Proposed solution SillyTavern has the option under AI Response Formatting "Start Replay With". Putting `<think>` as the reply start fixed the missing start tag and the thinking block is properly parsed. ## Alternatives considered As an alternative, we might consider just looking for an ending `</think>` tag and splitting the reply there. Although that might cause problems if the reply body happened to contain the string `</think>`. ## Additional context It's also worth considering that not all models use `<think>` for the reasoning block. * gpt-oss-120b puts the thinking under a separate "channel" https://github.com/openai/harmony (I see this format is already considered in `use-generate.ts` * [Seed-OSS-36B-Instruct](https://huggingface.co/ByteDance-Seed/Seed-OSS-36B-Instruct) Uses `<seed:think>...</seed:think>` Maybe a bigger solution is needed to handle all possible variations, known and unknown. <!-- Optional: mockups, related issues, references, or examples --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:29:01 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (May 17, 2026):

We have that already in Parameters.

<!-- gh-comment-id:4470111388 --> @SpicyMarinara commented on GitHub (May 17, 2026): We have that already in Parameters.
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#450
No description provided.