mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04: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