feat: add dotenv loading

This commit is contained in:
Kevin Bruton 2025-09-26 16:59:04 +02:00
parent a438acdbbd
commit ecca9b1efc
4 changed files with 8 additions and 3 deletions

View File

@ -1 +1 @@
3.10 3.13

View File

@ -19,6 +19,8 @@ from rich.tree import Tree
from rich import box from rich import box
from rich.align import Align from rich.align import Align
from rich.rule import Rule from rich.rule import Rule
from dotenv import load_dotenv
load_dotenv()
from tradingagents.graph.trading_graph import TradingAgentsGraph from tradingagents.graph.trading_graph import TradingAgentsGraph
from tradingagents.default_config import DEFAULT_CONFIG from tradingagents.default_config import DEFAULT_CONFIG

View File

@ -20,6 +20,7 @@ dependencies = [
"pandas>=2.3.0", "pandas>=2.3.0",
"parsel>=1.10.0", "parsel>=1.10.0",
"praw>=7.8.1", "praw>=7.8.1",
"python-dotenv>=1.1.0",
"pytz>=2025.2", "pytz>=2025.2",
"questionary>=2.1.0", "questionary>=2.1.0",
"redis>=6.2.0", "redis>=6.2.0",

View File

@ -1,5 +1,5 @@
version = 1 version = 1
revision = 2 revision = 3
requires-python = ">=3.10" requires-python = ">=3.10"
resolution-markers = [ resolution-markers = [
"python_full_version >= '3.13'", "python_full_version >= '3.13'",
@ -1831,7 +1831,7 @@ name = "langgraph-checkpoint"
version = "2.0.26" version = "2.0.26"
source = { registry = "https://pypi.org/simple" } source = { registry = "https://pypi.org/simple" }
dependencies = [ dependencies = [
{ name = "langchain-core", marker = "python_full_version < '4.0'" }, { name = "langchain-core", marker = "python_full_version < '4'" },
{ name = "ormsgpack" }, { name = "ormsgpack" },
] ]
sdist = { url = "https://files.pythonhosted.org/packages/c5/61/e2518ac9216a4e9f4efda3ac61595e3c9e9ac00833141c9688e8d56bd7eb/langgraph_checkpoint-2.0.26.tar.gz", hash = "sha256:2b800195532d5efb079db9754f037281225ae175f7a395523f4bf41223cbc9d6", size = 37874, upload-time = "2025-05-15T17:31:22.466Z" } sdist = { url = "https://files.pythonhosted.org/packages/c5/61/e2518ac9216a4e9f4efda3ac61595e3c9e9ac00833141c9688e8d56bd7eb/langgraph_checkpoint-2.0.26.tar.gz", hash = "sha256:2b800195532d5efb079db9754f037281225ae175f7a395523f4bf41223cbc9d6", size = 37874, upload-time = "2025-05-15T17:31:22.466Z" }
@ -4708,6 +4708,7 @@ dependencies = [
{ name = "pandas" }, { name = "pandas" },
{ name = "parsel" }, { name = "parsel" },
{ name = "praw" }, { name = "praw" },
{ name = "python-dotenv" },
{ name = "pytz" }, { name = "pytz" },
{ name = "questionary" }, { name = "questionary" },
{ name = "redis" }, { name = "redis" },
@ -4738,6 +4739,7 @@ requires-dist = [
{ name = "pandas", specifier = ">=2.3.0" }, { name = "pandas", specifier = ">=2.3.0" },
{ name = "parsel", specifier = ">=1.10.0" }, { name = "parsel", specifier = ">=1.10.0" },
{ name = "praw", specifier = ">=7.8.1" }, { name = "praw", specifier = ">=7.8.1" },
{ name = "python-dotenv", specifier = ">=1.1.0" },
{ name = "pytz", specifier = ">=2025.2" }, { name = "pytz", specifier = ">=2025.2" },
{ name = "questionary", specifier = ">=2.1.0" }, { name = "questionary", specifier = ">=2.1.0" },
{ name = "redis", specifier = ">=6.2.0" }, { name = "redis", specifier = ">=6.2.0" },