mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
use completion type
This commit is contained in:
parent
8d16602e6d
commit
6b38c32a65
1 changed files with 2 additions and 2 deletions
|
@ -4005,7 +4005,7 @@ public:
|
|||
task.id_selected_slot = json_value(data, "id_slot", -1);
|
||||
|
||||
// OAI-compat
|
||||
task.params.oaicompat = OAICOMPAT_TYPE_COMPLETION;
|
||||
task.params.oaicompat = OAICOMPAT_TYPE_NONE;
|
||||
task.params.oaicompat_cmpl_id = completion_id;
|
||||
// oaicompat_model is already populated by params_from_json_cmpl
|
||||
|
||||
|
@ -4194,7 +4194,7 @@ public:
|
|||
task.id_selected_slot = json_value(data, "id_slot", -1);
|
||||
|
||||
// OAI-compat
|
||||
task.params.oaicompat = OAICOMPAT_TYPE_COMPLETION;
|
||||
task.params.oaicompat = OAICOMPAT_TYPE_NONE;
|
||||
task.params.oaicompat_cmpl_id = completion_id;
|
||||
// oaicompat_model is already populated by params_from_json_cmpl
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue