text-generation-webui
text-generation-webui copied to clipboard
Fix stopping strings in api
By default, stopping strings is ignored when used in default API. That's simple fix for that.
Is this why silly tavern keeps generating?
It seems even with this PR I'm seeing the behavior of a stop string being ignored.
Not sure which side has the problem (interface vs API). The bug is being tracked in SillyTavern here: https://github.com/Cohee1207/SillyTavern/issues/76
For me it fixes the problem, because generate_reply don't process stopping strings with state and my PR fixes that API behavior
It still doesn't work
It's working for me without this PR on sillytavern. Just update the gradio ID to 43.
I think that this is already working after https://github.com/oobabooga/text-generation-webui/pull/990