fix: update Gemini API endpoint and render markdown in UI #6
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.36) × (1 − Review Confidence (0.53)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 116 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 68% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.285
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #6"
general
weight: 0.35
amanmaurya92
<!--
Thank you so much for your contribution! 🌟
We truly appreciate your time and effort. Please fill out this quick template.
-->
Description
This PR addresses two issues with the AI roadmap generation:
1. API Endpoint Update: Updated the Gemini API model in
src/utils/generateRoadmap.jsfromgemini-1.5-flashtogemini-3.5-flash. The old1.5-flashmodel was deprecated and returning404 Not Founderrors, breaking the generation feature.2. Markdown Rendering: Installed
react-markdownand updatedsrc/pages/Home.jsxto parse and render the AI responses as proper HTML Markdown instead of displaying them as raw unformatted text.Related Issue
<!-- Link to any relevant issue (e.g., Fixes #123) -->
Fixes #
Type of Change
Checklist