From a4d9e40c44b951a4ef528807a03edbc29559966a Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Wed, 8 Nov 2023 13:19:35 +0200 Subject: Fixed some typos --- src/ollama.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ollama.tsx') diff --git a/src/ollama.tsx b/src/ollama.tsx index f6e9b97..07d3f04 100644 --- a/src/ollama.tsx +++ b/src/ollama.tsx @@ -84,8 +84,8 @@ async function promptLLM(prompt: string) { }), }) if (!response.ok) { - console.log("Error: couldn't fulful request") - logseq.App.showMsg("Couldn't fulfuil request make sure you don't have a typo in the name of the model or the host url") + console.log("Error: couldn't fulfill request") + logseq.App.showMsg("Couldn't fulfill request make sure you don't have a typo in the name of the model or the host url") throw new Error('Network response was not ok'); } const data = await response.json(); @@ -93,7 +93,7 @@ async function promptLLM(prompt: string) { return data.response; } catch (e: any) { console.error("ERROR: ", e) - logseq.App.showMsg("Couldn't fulfuil request make sure you don't have a typo in the name of the model or the host url") + logseq.App.showMsg("Couldn't fulfill request make sure you don't have a typo in the name of the model or the host url") } } -- cgit v1.2.3