fix error console.log message

This commit is contained in:
Karl-Johan Alm 2024-11-19 21:41:57 +09:00
parent c2eaae3d42
commit cdc0147490
No known key found for this signature in database
GPG Key ID: CF78C98086AB1ECA
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ router.post('/status', jsonParser, async function (request, response) {
if (chatTemplateReply.ok) {
response.setHeader('x-supports-chat-template', 'true');
} else {
console.log(`ct res = ${JSON.stringify(chatTemplateReply)}`);
console.log(`chat_template error: ${JSON.stringify(chatTemplateReply)}`);
}
} catch (error) {
console.error(`Failed to fetch chat template info: ${error}`);