feat(gemini): Use gemini-2.5-pro for chart analysis

Switches the Gemini model from 'gemini-2.5-flash' to 'gemini-2.5-pro' to leverage more advanced AI capabilities for forex chart analysis. This should improve the accuracy and depth of the AI's market insights and recommendations.
This commit is contained in:
desartstudio95
2026-05-08 21:52:29 +02:00
parent 6af03ef95e
commit d81a49c2a4
+1 -1
View File
@@ -4,7 +4,7 @@ import { AnalysisResponse, SignalType } from "../types";
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY || '' });
export const analyzeForexChart = async (imageBase64: string, userNotes?: string, preferredMode?: 'Técnico' | 'Fundamental' | 'Híbrido'): Promise<AnalysisResponse> => {
const model = "gemini-2.5-flash";
const model = "gemini-2.5-pro";
const systemInstruction = `
Você é o QuantScan IA, um sistema avançado de análise de mercado financeiro com inteligência institucional.