[GH-ISSUE #51] Stopping generation does not actually stop the generation on the backend (KoboldCPP) #12

Closed
opened 2026-10-20 17:24:01 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @DarkPulse on GitHub (Apr 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/51

Originally assigned to: @LukaTheHero on GitHub.

Been playing around with this, found it pretty interesting so far :)

I've noticed that when I tell the reply generation to stop (for example, I don't like what it's outputting and I want to reset it to try again), while stopping stops and removes the reply, for some reason, stopping the generation is not sent along to the backend (in this case, KoboldCPP). This means it will keep right on generating tokens until it finishes whatever it would have tried to generate before it can be free to try again.

I noticed this in 1.47 (which I downloaded last night), but it also occurs on the current 1.48.

Originally created by @DarkPulse on GitHub (Apr 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/51 Originally assigned to: @LukaTheHero on GitHub. Been playing around with this, found it pretty interesting so far :) I've noticed that when I tell the reply generation to stop (for example, I don't like what it's outputting and I want to reset it to try again), while stopping stops and removes the reply, for some reason, stopping the generation is not sent along to the backend (in this case, KoboldCPP). This means it will keep right on generating tokens until it finishes whatever it would have tried to generate before it can be free to try again. I noticed this in 1.47 (which I downloaded last night), but it also occurs on the current 1.48.
bsakaguchi 2026-10-20 17:24:01 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@LukaTheHero commented on GitHub (Apr 3, 2026):

I fixed the issue and sent a pull request, wait for marinara to add it to the main code. https://github.com/SpicyMarinara/Marinara-Engine/pull/53

<!-- gh-comment-id:4184949036 --> @LukaTheHero commented on GitHub (Apr 3, 2026): I fixed the issue and sent a pull request, wait for marinara to add it to the main code. https://github.com/SpicyMarinara/Marinara-Engine/pull/53
Author
Owner

@SpicyMarinara commented on GitHub (Apr 3, 2026):

PR merged.

<!-- gh-comment-id:4185056123 --> @SpicyMarinara commented on GitHub (Apr 3, 2026): PR merged.
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#12
No description provided.