?
This commit is contained in:
parent
1eafa16bcd
commit
47bf44eaf8
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class Ollama extends BaseLLM {
|
|||
body: JSON.stringify({ name: this._getModel() }),
|
||||
})
|
||||
.then(async (response) => {
|
||||
if (response.status !== 200) {
|
||||
if (response?.status !== 200) {
|
||||
// console.warn(
|
||||
// "Error calling Ollama /api/show endpoint: ",
|
||||
// await response.text(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue