mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
modellist: fix bad copy-paste in ModelList::clone (#2011)
s/contextLength/gpuLayers/ Fixes #2010 Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
007d469034
commit
fc1a281381
@ -818,7 +818,7 @@ QString ModelList::clone(const ModelInfo &model)
|
||||
updateData(id, ModelList::MaxLengthRole, model.maxLength());
|
||||
updateData(id, ModelList::PromptBatchSizeRole, model.promptBatchSize());
|
||||
updateData(id, ModelList::ContextLengthRole, model.contextLength());
|
||||
updateData(id, ModelList::GpuLayersRole, model.contextLength());
|
||||
updateData(id, ModelList::GpuLayersRole, model.gpuLayers());
|
||||
updateData(id, ModelList::RepeatPenaltyRole, model.repeatPenalty());
|
||||
updateData(id, ModelList::RepeatPenaltyTokensRole, model.repeatPenaltyTokens());
|
||||
updateData(id, ModelList::PromptTemplateRole, model.promptTemplate());
|
||||
|
Loading…
Reference in New Issue
Block a user