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:
@@ -4,7 +4,7 @@ import { AnalysisResponse, SignalType } from "../types";
|
|||||||
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY || '' });
|
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> => {
|
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 = `
|
const systemInstruction = `
|
||||||
Você é o QuantScan IA, um sistema avançado de análise de mercado financeiro com inteligência institucional.
|
Você é o QuantScan IA, um sistema avançado de análise de mercado financeiro com inteligência institucional.
|
||||||
|
|||||||
Reference in New Issue
Block a user