fix error console.log message
This commit is contained in:
parent
c2eaae3d42
commit
cdc0147490
|
@ -226,7 +226,7 @@ router.post('/status', jsonParser, async function (request, response) {
|
||||||
if (chatTemplateReply.ok) {
|
if (chatTemplateReply.ok) {
|
||||||
response.setHeader('x-supports-chat-template', 'true');
|
response.setHeader('x-supports-chat-template', 'true');
|
||||||
} else {
|
} else {
|
||||||
console.log(`ct res = ${JSON.stringify(chatTemplateReply)}`);
|
console.log(`chat_template error: ${JSON.stringify(chatTemplateReply)}`);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`Failed to fetch chat template info: ${error}`);
|
console.error(`Failed to fetch chat template info: ${error}`);
|
||||||
|
|
Loading…
Reference in New Issue