renderer.js:19 Uncaught (in promise) Error: modelAlias is required and must be a string
Promise.then
chatLLM @ renderer.js:12
(anonymous) @ renderer.js:23
async function chatLLM() {
await window.electronAi.create({
modelPath: "Tiny-LLM.Q4_K_M.gguf"
})
// Then, talk to it
const response = await window.electronAi.prompt("Hi! How are you doing today?")
console.log(response);
}