TradingAgents/tradingagents/default_config.py.diff

21 lines
1011 B
Diff

# 文件差异报告
# 当前文件: tradingagents\default_config.py
# 中文版文件: TradingAgentsCN\tradingagents\default_config.py
# 生成时间: 周日 2025/07/06
--- current/default_config.py+++ chinese_version/default_config.py@@ -3,7 +3,7 @@ DEFAULT_CONFIG = {
"project_dir": os.path.abspath(os.path.join(os.path.dirname(__file__), ".")),
"results_dir": os.getenv("TRADINGAGENTS_RESULTS_DIR", "./results"),
- "data_dir": "/Users/yluo/Documents/Code/ScAI/FR1-data",
+ "data_dir": os.path.join(os.path.expanduser("~"), "Documents", "TradingAgents", "data"),
"data_cache_dir": os.path.join(
os.path.abspath(os.path.join(os.path.dirname(__file__), ".")),
"dataflows/data_cache",
@@ -19,4 +19,7 @@ "max_recur_limit": 100,
# Tool settings
"online_tools": True,
+
+ # Note: Database and cache configuration is now managed by .env file and config.database_manager
+ # No database/cache settings in default config to avoid configuration conflicts
}