Merge #567 — analysis-only crypto asset mode
feat: add analysis-only crypto asset mode
This commit is contained in:
13 files changed
+150
-18
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user