gpt4all: update

This commit is contained in:
Simon Gardling 2024-09-27 10:59:04 -04:00
parent 75c4ad2383
commit db224fba5e
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -39,9 +39,7 @@ let
model_files = builtins.listToAttrs (
map (f: {
name = ".local/share/nomic.ai/GPT4All/${f.name}";
value = {
source = f.source;
};
value.source = f.source;
}) models
);
@ -49,7 +47,7 @@ let
optimizeWithFlags
(pkgs.gpt4all.overrideAttrs (old: {
# https://github.com/NixOS/nixpkgs/pull/344001 3.2.1 -> 3.3.0
version = "3.3.0";
version = "3.4.0-dev0";
src = pkgs.fetchFromGitHub {
fetchSubmodules = true;
owner = "nomic-ai";
@ -72,7 +70,6 @@ let
"-fno-finite-math-only" # https://github.com/ggerganov/llama.cpp/pull/7154#issuecomment-2143844461
]
);
in
{
home.packages = [
@ -92,7 +89,10 @@ in
suggestionMode=Off
threadCount=8
uniqueId=7096f2d2-448d-4272-a132-d37e77f8a781
userDefaultModel=${(builtins.elemAt models 0).name}
userDefaultModel=${
# select the first element of `models` to be the default model
(builtins.elemAt models 0).name
}
width=1472
x=0
y=0