mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-07 11:17:56 +08:00
92e34f3732
Previously, the frontend DecisionRecord type was missing the input_prompt field that exists in the backend DecisionLog, causing the input context sent to AI to not be displayed in the UI. Changes: - Add input_prompt field to DecisionRecord interface in both type files - Add collapsible Input Prompt section in DecisionCard component - Display input_prompt before AI Chain of Thought with blue styling - Use same expand/collapse interaction pattern as CoT trace Now users can view both the input context and AI's reasoning process in the decision cards. Co-Authored-By: tinkle-community <tinklefund@gmail.com>