(messageId: string, decision: string)
| 100 | * 添加决策步骤 |
| 101 | */ |
| 102 | const addDecisionStep = (messageId: string, decision: string) => { |
| 103 | addStep(messageId, { |
| 104 | type: "decision", |
| 105 | content: decision, |
| 106 | timestamp: Date.now(), |
| 107 | }); |
| 108 | }; |
| 109 | |
| 110 | /** |
| 111 | * 添加审批步骤 |