works up to LLM request

This commit is contained in:
aodulov
2025-10-10 15:04:28 +03:00
parent 0111938b43
commit b8c42c4604
6 changed files with 94 additions and 84 deletions

View File

@@ -121,9 +121,16 @@ const SessionPage = () => {
<Typography variant="h6" sx={{ mt: 2 }}>Harmonizing Desires...</Typography>
</Box>
)}
{session.state === SessionState.FINAL && session.finalResult && (
<ResultsDisplay decision={session.finalResult} />
)}
{session.state === SessionState.ERROR && (
<Alert severity="error" sx={{ mt: 4 }}>
An error occurred during analysis. Please try again.
</Alert>
)}
</Box>
</Container>
);