A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物
Python agent-memoryfinancial-forecastingfuture-predictionknowledge-graphllmsmulti-agent-simulationpublic-opinion-analysispython3social-predictionswarm-intelligence
fix(config): enable overriding of environment variables when loading .env file
666ghj40f703594796
diff --git a/backend/app/config.py b/backend/app/config.pyindex 3dd3f513..953dfa50 100644--- a/backend/app/config.py+++ b/backend/app/config.py@@ -11,10 +11,10 @@ from dotenv import load_dotenvproject_root_env = os.path.join(os.path.dirname(__file__), '../../.env')if os.path.exists(project_root_env):- load_dotenv(project_root_env)+ load_dotenv(project_root_env, override=True)else:# 如果根目录没有 .env,尝试加载环境变量(用于生产环境)- load_dotenv()+ load_dotenv(override=True)class Config: