fix: use ~/.tradingagents/ for cache and logs, resolving Docker permission issue (#519)

This commit is contained in:
Yijia-Xiao
2026-04-13 05:26:04 +00:00
parent 10c136f49c
commit 59d6b2152d
3 changed files with 9 additions and 11 deletions
+2 -4
View File
@@ -66,10 +66,8 @@ class TradingAgentsGraph:
set_config(self.config)
# Create necessary directories
os.makedirs(
os.path.join(self.config["project_dir"], "dataflows/data_cache"),
exist_ok=True,
)
os.makedirs(self.config["data_cache_dir"], exist_ok=True)
os.makedirs(self.config["results_dir"], exist_ok=True)
# Initialize LLMs with provider-specific thinking configuration
llm_kwargs = self._get_provider_kwargs()