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

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

Open enefry opened this issue 10 months ago • 5 comments

💻 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

enefry avatar Apr 28 '24 13:04 enefry

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

lobehubbot avatar Apr 28 '24 13:04 lobehubbot

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

arvinxx avatar Apr 28 '24 14:04 arvinxx

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.

lobehubbot avatar Apr 28 '24 14:04 lobehubbot

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

enefry avatar Apr 29 '24 02:04 enefry

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


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

lobehubbot avatar Apr 29 '24 02:04 lobehubbot