This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
generation_args["stop"] doesn't work for stop sequence "\n\n" #642
Labels
bug
Something isn't working
🐛 Bug
The
stop
parameter provided to the API is not working as expected whenstop = "\n\n"
To Reproduce
Steps to reproduce the behavior (always include the command you ran):
/completions
with parameter{"stop": "\n\n"}
.Expected behavior
Stop after generating two consecutive newlines
Environment
Additional context
When trying with other stop sequences, e.g.
{"stop": "Question:"}
, it works as expected.The text was updated successfully, but these errors were encountered: