Server: Fix model info logs

Don't use a formatted string.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2023-11-17 15:01:13 -05:00
parent f7ed574d04
commit 5f8c615981
1 changed files with 2 additions and 2 deletions

View File

@ -567,7 +567,7 @@ app.post("/api/textgenerationwebui/status", jsonParser, async function (request,
if (modelInfoReply.ok) {
const modelInfo = await modelInfoReply.json();
console.log(`Ooba model info: ${modelInfo}`);
console.log('Ooba model info:', modelInfo);
const modelName = modelInfo?.model_name;
result = modelName || result;
@ -584,7 +584,7 @@ app.post("/api/textgenerationwebui/status", jsonParser, async function (request,
if (modelInfoReply.ok) {
const modelInfo = await modelInfoReply.json();
console.log(`Tabby model info: ${modelInfo}`);
console.log('Tabby model info:', modelInfo);
const modelName = modelInfo?.id;
result = modelName || result;