mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
Embeddiongs: set OAICOMPAT_TYPE_EMBEDDING
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
bad6d96a2b
commit
66341857c9
1 changed files with 1 additions and 1 deletions
|
@ -4302,7 +4302,7 @@ public:
|
|||
task.prompt_tokens = server_tokens(tokenized_prompts[i], ctx_server.mctx != nullptr);
|
||||
|
||||
// OAI-compat
|
||||
task.params.oaicompat = OAICOMPAT_TYPE_NONE;
|
||||
task.params.oaicompat = OAICOMPAT_TYPE_EMBEDDING;
|
||||
|
||||
tasks.push_back(std::move(task));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue