Skip to content

Commit 87df601

Browse files
committed
server : fixes
1 parent 3a7c001 commit 87df601

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/server/server.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,6 @@ struct server_slot {
10181018
n_prompt_tokens = 0;
10191019
last_nl_pos = 0;
10201020
generated_text = "";
1021-
generated_tokens = {};
10221021
has_new_line = false;
10231022
truncated = false;
10241023
stop = STOP_TYPE_NONE;
@@ -3733,7 +3732,7 @@ int main(int argc, char ** argv) {
37333732
task.prompt_tokens = std::move(tokenized_prompts[i]);
37343733

37353734
// OAI-compat
3736-
task.params.oaicompat = oaicompat;;
3735+
task.params.oaicompat = oaicompat;
37373736

37383737
tasks.push_back(task);
37393738
}

0 commit comments

Comments
 (0)