template derivation: add support for llama.cpp server backend

This commit is contained in:
Karl-Johan Alm
2024-11-19 23:38:38 +09:00
parent cdc0147490
commit feb1b91619
2 changed files with 16 additions and 2 deletions

View File

@@ -59,6 +59,6 @@ export async function deriveTemplatesFromChatTemplate(chat_template, hash) {
if (hash in derivations) {
return derivations[hash];
}
console.log(`Unknown chat template hash: ${hash}`);
console.log(`Unknown chat template hash: ${hash} for [${chat_template}]`);
return null;
}