Return agentSignals and debateRounds in mocked /api/analyze response to match component expectations
This commit is contained in:
@@ -39,6 +39,8 @@ describe("StockDetail UI - executionPlan", () => {
|
|||||||
action: "sell",
|
action: "sell",
|
||||||
confidence: 0.9,
|
confidence: 0.9,
|
||||||
reasoning: "Exit position",
|
reasoning: "Exit position",
|
||||||
|
agentSignals: [],
|
||||||
|
debateRounds: [],
|
||||||
executionPlan: { amount: 25, riskManagement: { maxLossPercent: 2 }, takeProfit: 150 }
|
executionPlan: { amount: 25, riskManagement: { maxLossPercent: 2 }, takeProfit: 150 }
|
||||||
}) });
|
}) });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user