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
40.95k stars 9.33k forks source link

部署在docker中时,本地用户无法实现同步、调用Gemini等功能 #2274

Closed Daisy-DGY closed 3 months ago

Daisy-DGY commented 4 months ago

💻 系统环境

Ubuntu

📦 部署环境

Docker

🌐 浏览器

Chrome

🐛 问题描述

服务器系统:Ubuntu;本地用户系统:Windows 问题:当lobe部署在Vercel中时,本地用户可以在设置中填写key来访问Gemini模型,修改同步频道等;但是,当lobe部署在服务器的docker中作为服务时,本地用户无法通过修改key访问Gemini,其他模型暂未尝试;并且,数据同步选项也一直是无法开启的状态。

🚦 期望结果

能否让docker中部署的lobe像Vercel一样服务不同用户

📷 复现步骤

No response

📝 补充信息

image image

lobehubbot commented 4 months ago

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


💻 System environment

Ubuntu

📦 Deployment environment

Docker

🌐 Browser

Chrome

🐛 Problem description

Server system: Ubuntu; Local user system: Windows Problem: When the lobe is deployed in Vercel, local users can fill in the key in the settings to access the Gemini model, modify the synchronization channel, etc.; however, when the lobe is deployed in the server's docker as a service, local users cannot access Gemini by modifying the key. , other models have not been tried yet; and the data synchronization option has always been unable to be turned on.

🚦 Expected results

Can the lobe deployed in docker serve different users like Vercel?

📷 Steps to reproduce

No response

📝 Supplementary information

image image

lobehubbot commented 4 months ago

👀 @Daisy-DGY

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 4 months ago

看了下 gemini 的报错,是你的 docker 网络问题,需要你自行解决。 同步的问题详见:https://github.com/lobehub/lobe-chat/discussions/2276

lobehubbot commented 3 months ago

✅ @Daisy-DGY

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