dify icon indicating copy to clipboard operation
dify copied to clipboard

How does pydantic-settings dynamically load the env configuration

Open luckylhb90 opened this issue 1 year ago • 0 comments

Self Checks

  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I want to dynamically modify the configuration in .env and how can I make these changes take effect in a timely manner without restarting the service.

2. Additional context or comments

image

I think the problem may not be caused by the pydantic-settings. This copy may not be modified because of the way we use it.

3. Can you help us with this feature?

  • [ ] I am interested in contributing to this feature.

luckylhb90 avatar Aug 22 '24 17:08 luckylhb90