mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Match on the filename too for server mode.
This commit is contained in:
parent
28d41d4f6d
commit
9560336490
@ -173,7 +173,7 @@ QHttpServerResponse Server::handleCompletionRequest(const QHttpServerRequest &re
|
||||
for (const ModelInfo &info : modelList) {
|
||||
if (!info.installed)
|
||||
continue;
|
||||
if (modelRequested == info.name) {
|
||||
if (modelRequested == info.name || modelRequested == info.filename) {
|
||||
modelInfo = info;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user