lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.37k stars 9.94k forks source link

lobe-chat fails to use ollama #1618

Closed fazhang-master closed 6 months ago

fazhang-master commented 7 months ago

💻 Operating System

Ubuntu

📦 Environment

Docker

🌐 Browser

Chrome

🐛 Bug Description

{ "error": { "headers": { "content-length": "18", "content-type": "text/plain", "date": "Mon, 18 Mar 2024 00:50:25 GMT" }, "stack": "Error: 404 404 page not found\n at eP.generate (/app/.next/server/edge-chunks/261.js:4:1754)\n at sp.makeStatusError (/app/.next/server/edge-chunks/261.js:4:13675)\n at sp.makeRequest (/app/.next/server/edge-chunks/261.js:4:14598)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async J.chat (/app/.next/server/edge-chunks/353.js:1:11187)\n at async eh (/app/.next/server/edge-chunks/353.js:1:18173)\n at async /app/.next/server/edge-chunks/212.js:6:64195\n at async O.execute (/app/.next/server/edge-chunks/212.js:6:61088)\n at async O.handle (/app/.next/server/edge-chunks/212.js:6:65462)\n at async ey.handler (/app/.next/server/edge-chunks/212.js:7:31644)", "status": 404 }, "endpoint": "http://192.168.***.6:****/", "provider": "ollama" }

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

image

lobehubbot commented 7 months ago

👀 @fazhang-master

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot commented 7 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


💻 Operating System

Ubuntu

📦 Environment

Docker

🌐 Browser

Chrome

🐛 Bug Description

{ "error": { "headers": { "content-length": "18", "content-type": "text/plain", "date": "Mon, 18 Mar 2024 00:50:25 GMT" }, "stack": "Error: 404 404 page not found\n at eP.generate (/app/.next/server/edge-chunks/261.js:4:1754)\n at sp.makeStatusError (/app/.next/server/edge-chunks/261.js:4:13675)\n at sp.makeRequest (/app/.next/server/edge-chunks/261.js:4:14598)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async J.chat (/app/.next/server/edge-chunks/353.js:1:11187)\n at async eh (/app/.next/server/edge-chunks/353.js:1:18173)\n at async /app/.next/server/edge-chunks/212.js:6:64195\n at async O.execute (/app/.next/server/edge-chunks/212.js:6:61088)\n at async O.handle (/app/.next/server/edge-chunks/212.js:6:65462)\n at async ey.handler (/app/.next/server/edge-chunks/212.js:7:31644)", "status": 404 }, "endpoint": "http://192.168.***.6:****/", "provider": "ollama" }

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

image

arvinxx commented 7 months ago

try with /v1 ?

oldgithubman commented 7 months ago

Same problem here

kramaxim commented 7 months ago

Same problem, though it has connected, but I get the same error. I am using docker in UNRAID (Linux)

lobe error
lobehubbot commented 6 months ago

✅ @fazhang-master

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot commented 6 months ago

:tada: This issue has been resolved in version 0.149.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: