mirror of
https://github.com/open-webui/open-webui
synced 2025-01-30 22:39:03 +00:00
fix: ollamahub modelfile import with username
This commit is contained in:
parent
ca1daf5e02
commit
7074a882b4
@ -228,7 +228,9 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, '');
|
|||||||
imageUrl = modelfile.imageUrl;
|
imageUrl = modelfile.imageUrl;
|
||||||
title = modelfile.title;
|
title = modelfile.title;
|
||||||
await tick();
|
await tick();
|
||||||
tagName = `${modelfile.user.username}/${modelfile.tagName}`;
|
tagName = `${modelfile.user.username === 'hub' ? '' : `hub/`}${modelfile.user.username}/${
|
||||||
|
modelfile.tagName
|
||||||
|
}`;
|
||||||
desc = modelfile.desc;
|
desc = modelfile.desc;
|
||||||
content = modelfile.content;
|
content = modelfile.content;
|
||||||
suggestions =
|
suggestions =
|
||||||
|
Loading…
Reference in New Issue
Block a user