We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2f0fa commit a58b9e5Copy full SHA for a58b9e5
examples/main/main.cpp
@@ -759,7 +759,7 @@ int main(int argc, char ** argv) {
759
760
// check for reverse prompt using special tokens
761
llama_token last_token = common_sampler_last(smpl);
762
- if (std::find(antiprompt_token.begin(), antiprompt_token.end(), last_token) != antiprompt_token.end()) {
+ if (std::find(antiprompt_token.begin(), antiprompt_token.end(), (int32_t) last_token) != antiprompt_token.end()) {
763
if (params.interactive) {
764
is_interacting = true;
765
}
0 commit comments