remove embedding mode
This commit is contained in:
parent
2992479a42
commit
10ea6b1a91
1 changed files with 1 additions and 1 deletions
|
@ -901,7 +901,7 @@ struct server_context {
|
|||
slot.params.input_suffix = json_value(data, "input_suffix", default_params.input_suffix);
|
||||
|
||||
// get prompt
|
||||
if (!(task.infill || task.embedding)) {
|
||||
if (!task.infill) {
|
||||
{
|
||||
const auto & prompt = data.find("prompt");
|
||||
if (prompt == data.end()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue