(input: InitialStateInput)
| 69 | } |
| 70 | |
| 71 | export function createInitialState(input: InitialStateInput): AgentState { |
| 72 | return AgentStateSchema.parse({ |
| 73 | companyOfInterest: input.ticker, |
| 74 | tradeDate: input.tradeDate, |
| 75 | assetType: input.assetType, |
| 76 | instrumentContext: input.instrumentContext ?? "", |
| 77 | pastContext: input.pastContext ?? "", |
| 78 | investmentDebateState: {}, |
| 79 | riskDebateState: {}, |
| 80 | }); |
| 81 | } |
no outgoing calls