Skip to content
Discussion options

You must be logged in to vote

We need to dynamically determine the question and answer by inspecting the StateGraph from when the user most recently visited the state being reviewed (which we know from the Outcome of the answer that triggers the flashback state), and copying the question and correct answer to show in a temporary new mode of EphemeralState. This new EphemeralState would only stay in the StateGraph for as long as the review is being reviewed. We need to inspect the most recent visit (by state name) in the state graph, and copy the correct answer (always the last one in the list).

Replies: 2 comments 15 replies

Comment options

subhajitxyz
Mar 16, 2025
Collaborator Author

You must be logged in to vote
12 replies
@subhajitxyz
Comment options

subhajitxyz Mar 17, 2025
Collaborator Author

@seanlip
Comment options

@subhajitxyz
Comment options

subhajitxyz Mar 17, 2025
Collaborator Author

@BenHenning
Comment options

BenHenning Mar 18, 2025
Maintainer Sponsor

Answer selected by seanlip
@subhajitxyz
Comment options

subhajitxyz Mar 19, 2025
Collaborator Author

Comment options

subhajitxyz
Apr 3, 2025
Collaborator Author

You must be logged in to vote
3 replies
@adhiamboperes
Comment options

@subhajitxyz
Comment options

subhajitxyz Apr 4, 2025
Collaborator Author

@adhiamboperes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants