Add grounded AI state explainer#6
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8eaf06663
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (!aiEnabled || requestedModesRef.current[mode]) { | ||
| setIsLoading(false); | ||
| return; |
There was a problem hiding this comment.
Fetch mode-specific brief even when OpenAI is disabled
The effect exits immediately when aiEnabled is false, so selecting “affordability” or “economy” never loads mode-specific content. Because currentBrief falls back to the initial overview brief, the UI can show a non-overview button as active while still rendering overview text/citations. This breaks the advertised mode switching behavior.
Useful? React with 👍 / 👎.
Summary
Validation