lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design LLMs/AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Bedrock / Azure / Mistral / Perplexity ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT chat application.
https://chat-preview.lobehub.com
MIT License
31.92k stars 7.62k forks source link

默认环境变量配置在chat中体现 #2508

Closed zhangleijun111 closed 4 days ago

zhangleijun111 commented 2 weeks ago

🥰 需求描述

你好我在启动容器是分别配置openai 和 OLLAMA 还有智浦的环境变量但是启动容器时无法提现,还是需要输入,我想让她成为默认的值,请问应该怎么解决

🧐 解决方案

我想要环境变量配置完容器里面就会存在无需用户再次输入

📝 补充信息

麻烦帮忙看一下谢谢

lobehubbot commented 2 weeks ago

👀 @zhangleijun111

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 2 weeks ago

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


🥰 Description of requirements

Hello, when I start the container, I configure openai, OLLAMA and Chipu's environment variables respectively, but I can't withdraw money when I start the container. I still need to enter it. I want it to become the default value. How should I solve it?

🧐 Solution

I want the environment variables to exist in the container after they are configured without the need for the user to enter them again.

📝 Supplementary information

Please help me take a look, thank you

arvinxx commented 4 days ago

使用 Default Agent config 环境变量 https://lobehub.com/zh/docs/self-hosting/environment-variables/basic#default-agent-config

lobehubbot commented 4 days ago

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


Use the Default Agent config environment variable https://lobehub.com/zh/docs/self-hosting/environment-variables/basic#default-agent-config

lobehubbot commented 4 days ago

✅ @zhangleijun111

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