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
42.16k stars 9.51k forks source link

[Bug] ollama 关闭“使用客户端请求模式” 后还是从浏览器发起请求 #2266

Open enefry opened 5 months ago

enefry commented 5 months ago

💻 Operating System

macOS

📦 Environment

Docker

🌐 Browser

Safari

🐛 Bug Description

我在server的docker环境中部署一个ollama服务,但是不希望这个服务直接被外部访问,所以需要从服务端进行访问,在控制面板中虽然有关闭“” 使用客户端请求模式“ 按钮,但是实际还是从浏览器访问

image

image

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

No response

lobehubbot commented 5 months ago

👀 @enefry

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 5 months ago

你试试会话是否正常?这里的 checker 实现存在一些实现上的问题

lobehubbot commented 5 months ago

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


Have you tried the session to see if it's normal? There are some implementation problems in the checker implementation here.

enefry commented 5 months ago

嗯,是的,会话那边是正常的

lobehubbot commented 5 months ago

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


Well, yes, it's normal on the conversation side.