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 2c5f38b commit 81996eaCopy full SHA for 81996ea
examples/server/server.cpp
@@ -71,7 +71,7 @@ struct llama_server_context
71
{
72
embd_inp.push_back(prompt_tokens[i]);
73
if(new_prompt_len == 0) {
74
- if(((int32_t)i) - 1 < n_past) {
+ if(int32_t(i) - 1 < n_past) {
75
processed_tokens.erase(processed_tokens.begin() + i, processed_tokens.end());
76
}
77
// Evaluate the new fragment prompt from the last token processed.
0 commit comments