"docs/_removed/InstallationLinux.rst" did not exist on "fd8fb7830a65165f0cc0834228b0c660f9242618"
Commit 58b5e0bf authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: modelfile edit

parent 59a730cb
......@@ -113,7 +113,11 @@
}
params = { ...params, ...model?.info?.params };
params.stop = params?.stop ? (params?.stop ?? []).join(',') : null;
params.stop = params?.stop
? (typeof params.stop === 'string' ? params.stop.split(',') : params?.stop ?? []).join(
','
)
: null;
if (model?.owned_by === 'openai') {
capabilities.usage = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment