diff --git a/App.tsx b/App.tsx index fee53ab..93494d3 100644 --- a/App.tsx +++ b/App.tsx @@ -139,7 +139,7 @@ export default function App() { `; const response = await ai.models.generateContent({ - model: 'gemini-3-flash-preview', + model: 'gemini-3.1-pro-preview', contents: prompt, config: { responseMimeType: "application/json", @@ -193,7 +193,7 @@ export default function App() { Format as a simple comma-separated list of items found.`; const response = await ai.models.generateContent({ - model: 'gemini-3-flash-preview', + model: 'gemini-3.1-pro-preview', contents: { parts: [ { inlineData: { data: base64Data, mimeType: file.type } }, @@ -333,7 +333,7 @@ export default function App() { - Tone: Professional, senior, strategic, everyday English. - Formatting: Use Markdown. `; - const response = await ai.models.generateContent({ model: 'gemini-3-flash-preview', contents: prompt }); + const response = await ai.models.generateContent({ model: 'gemini-3.1-pro-preview', contents: prompt }); setAuditText(response.text || "Audit unavailable."); } catch (error) { setAuditText("Error generating AI audit."); diff --git a/README.md b/README.md index 73b3b27..9d7754c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Built with React 19, TypeScript, and Vite. No backend required — everything ru ### AI Integration -Uses Google Gemini 2.0 Flash for three distinct capabilities: +Uses Google Gemini 3.1 Pro (`gemini-3.1-pro-preview`) for three distinct capabilities: - **Scope Analysis** — Analyzes a project brief and matches it to assets in the catalog - **Image OCR** — Extracts text from uploaded screenshots of briefs