Skip to content

Commit 537ffa9

Browse files
ggerganovngxson
authored andcommitted
cont : fix
1 parent f63e760 commit 537ffa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/server-context.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2610,9 +2610,9 @@ static std::unique_ptr<server_res_generator> handle_completions_impl(
26102610
task.params.res_type = res_type;
26112611
task.params.oaicompat_cmpl_id = completion_id;
26122612
task.params.oaicompat_model = ctx_server.model_name;
2613+
states.push_back(task.params.oaicompat_chat_syntax);
26132614

26142615
tasks.push_back(std::move(task));
2615-
states.push_back(task.params.oaicompat_chat_syntax);
26162616
}
26172617

26182618
rd.post_tasks(std::move(tasks));

0 commit comments

Comments
 (0)