feat: add analysis-only crypto asset mode

This commit is contained in:
CadeYu committed 2026-04-18 20:42:11 +08:00
1 parent f362a160c3
commit e7ec980021
13 files changed
+141 -19

No files matched your search

+2 -1
View File
@@ -16,12 +16,13 @@ class Propagator:
self.max_recur_limit = max_recur_limit
def create_initial_state(
self, company_name: str, trade_date: str
self, company_name: str, trade_date: str, asset_type: str = "stock"
) -> Dict[str, Any]:
"""Create the initial state for the agent graph."""
return {
"messages": [("human", company_name)],
"company_of_interest": company_name,
"asset_type": asset_type,
"trade_date": str(trade_date),
"investment_debate_state": InvestDebateState(
{