diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-11-08 13:19:35 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-11-08 13:19:35 +0200 |
| commit | a4d9e40c44b951a4ef528807a03edbc29559966a (patch) | |
| tree | df67e7a91b2ad2b20d7de3b7165d4d52133015b4 | |
| parent | ffee9090d97d750f989eb82b9f2e6457e807177e (diff) | |
| download | ollama-logseq-a4d9e40c44b951a4ef528807a03edbc29559966a.tar.xz ollama-logseq-a4d9e40c44b951a4ef528807a03edbc29559966a.zip | |
Fixed some typos
| -rw-r--r-- | src/ollama.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
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") } } |
