chat-ollama icon indicating copy to clipboard operation
chat-ollama copied to clipboard

在Models Tab 下载nomic-embed-text出错

Open zhangningboo opened this issue 11 months ago • 5 comments

代码版本Git Commit ID: 2dd0ddd69f6751944ade955b994f2564d08feeac 点击下载,后台报错, 图片

错误信息:

Ollama:  { host: 'null', username: 'null', password: 'null' }
Authorization: dW5kZWZpbmVkOnVuZGVmaW5lZA==
[nuxt] [request error] [unhandled] [500] fetch failed
  at node:internal/deps/undici/undici:12345:11  
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Ollama:  { host: 'null', username: 'null', password: 'null' }
Authorization: dW5kZWZpbmVkOnVuZGVmaW5lZA==
[nuxt] [request error] [unhandled] [500] fetch failed
  at node:internal/deps/undici/undici:12345:11  
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Ollama:  { host: 'null', username: 'null', password: 'null' }
Authorization: dW5kZWZpbmVkOnVuZGVmaW5lZA==
[nuxt] [request error] [unhandled] [500] fetch failed
  at node:internal/deps/undici/undici:12345:11  
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

图片

zhangningboo avatar Mar 12 '24 09:03 zhangningboo

请确认你使用的node版本,最近有不少用户报了类似问题。升级node到 v20.5.1 或以上,应该能解决这个问题。

如果还有问题的话,尝试重启Ollama。

sugarforever avatar Mar 12 '24 11:03 sugarforever

使用的版本是v20.11.1

$ node --version               
v20.11.1

zhangningboo avatar Mar 12 '24 12:03 zhangningboo

请问ollama的版本有要求吗?我理解是chat-ollama是调用ollma的api,ollama的api是否会变动?

zhangningboo avatar Mar 12 '24 12:03 zhangningboo

@zhangningboo I got the same error while running docker version, but no issue after switching to cloned version locally (I have to upgrade ollama to v0.1.29 to fix issue with using nomic-embed-text

wgong avatar Mar 17 '24 03:03 wgong

I updated the ollama version to v0.1.29, it doesn't work. @wgong

zhangningboo avatar Mar 18 '24 09:03 zhangningboo

可以在终端里面执行下面的代码,看看是否可以正常下载

ollama pull nomic-embed-text

satrong avatar May 28 '24 13:05 satrong