Merge #567 — analysis-only crypto asset mode

feat: add analysis-only crypto asset mode
This commit is contained in:
Yijia Xiao authored and GitHub committed 2026-05-17 00:01:49 -07:00
commit a2e7ac1599
13 files changed
+150 -18

No files matched your search

+6 -1
View File
@@ -16,12 +16,17 @@ class Propagator:
self.max_recur_limit = max_recur_limit
def create_initial_state(
self, company_name: str, trade_date: str, past_context: str = ""
self,
company_name: str,
trade_date: str,
asset_type: str = "stock",
past_context: str = "",
) -> 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),
"past_context": past_context,
"investment_debate_state": InvestDebateState(