We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dbb3d2 commit 1d3f3a6Copy full SHA for 1d3f3a6
gpt4all-chat/src/modellist.cpp
@@ -1347,7 +1347,7 @@ static std::optional<QFile> modelsJsonCacheFile()
1347
if (auto path = QStandardPaths::locate(loc, modelsJsonFname); !path.isEmpty())
1348
return std::make_optional<QFile>(path);
1349
if (auto path = QStandardPaths::writableLocation(loc); !path.isEmpty())
1350
- return std::make_optional<QFile>(path);
+ return std::make_optional<QFile>(u"%1/%2"_s.arg(path, modelsJsonFname));
1351
return std::nullopt;
1352
}
1353
0 commit comments