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

[Bug] Lobechat Web UI breaks without internet

Open sunayansaikia opened this issue 1 year ago • 3 comments

📦 Environment

Docker

📌 Version

26.1.4

💻 Operating System

Ubuntu

🌐 Browser

Chrome

🐛 Bug Description

I'm trying to run lobechat with docker and Lobechat Web UI breaks if I use it offline without internet in the browser. It seems to somehow connect to https://registry.npmmirror.com/@lobehub/chat. Is it possible to use Lobechat offline without internet?

image

📷 Recurrence Steps

No response

🚦 Expected Behavior

To run lobechat with docker completely offline with no internet.

📝 Additional Information

No response

sunayansaikia avatar Jun 29 '24 07:06 sunayansaikia

👀 @sunayansaikia

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 Jun 29 '24 07:06 lobehubbot

It shouldn't work. This seems to be a rare need, almost all users use lobechat in a networked environment, as connecting to an external GPT requires a network.

Sun-drenched avatar Jun 29 '24 09:06 Sun-drenched

Hey @Sun-drenched, thanks for replying. Not sure about the targeted audience for Lobechat, however folks do like to host everythng locally and do inference. If lobechat is targeted towards organisations Lobechat ideally support air gapped browsers.

sunayansaikia avatar Jun 29 '24 10:06 sunayansaikia

Hello, is it possible to override https://registry.npmmirror.com for local npm package mirror ?

amishurov avatar Sep 10 '25 13:09 amishurov