Skip to content

Commit

Permalink
server : fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Dec 18, 2024
1 parent 3a7c001 commit 87df601
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,6 @@ struct server_slot {
n_prompt_tokens = 0;
last_nl_pos = 0;
generated_text = "";
generated_tokens = {};
has_new_line = false;
truncated = false;
stop = STOP_TYPE_NONE;
Expand Down Expand Up @@ -3733,7 +3732,7 @@ int main(int argc, char ** argv) {
task.prompt_tokens = std::move(tokenized_prompts[i]);

// OAI-compat
task.params.oaicompat = oaicompat;;
task.params.oaicompat = oaicompat;

tasks.push_back(task);
}
Expand Down

0 comments on commit 87df601

Please sign in to comment.