Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zhangleijun111 opened this issue May 15, 2024 · 5 comments
Closed

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

zhangleijun111 opened this issue May 15, 2024 · 5 comments
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@zhangleijun111
Copy link

🥰 需求描述

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

🧐 解决方案

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

📝 补充信息

麻烦帮忙看一下谢谢

@zhangleijun111 zhangleijun111 added the 🌠 Feature Request New feature or request | 特性与建议 label May 15, 2024
@lobehubbot
Copy link
Member

👀 @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
Copy link
Member

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
Copy link
Contributor

arvinxx commented May 28, 2024

@arvinxx arvinxx closed this as completed May 28, 2024
@lobehubbot
Copy link
Member

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
Copy link
Member

@zhangleijun111

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

No branches or pull requests

3 participants