diff --git a/push_steelcheck.py b/push_steelcheck.py index 53e8e88..9153a66 100644 --- a/push_steelcheck.py +++ b/push_steelcheck.py @@ -23,7 +23,7 @@ def run_command(command, description): return None # Mudar para o diretório do projeto -os.chdir(r"m:\OFICIAIS E FUNCIONANDO\SteelCheck_base") +os.chdir("/root/Apps/SteelCheck_base") # Inicializar Git se necessário if not os.path.exists(".git"): diff --git a/services/aiService.ts b/services/aiService.ts index efab224..e985dde 100644 --- a/services/aiService.ts +++ b/services/aiService.ts @@ -1,5 +1,6 @@ import { GoogleGenAI, Type } from "@google/genai"; -import type { ReportData, AIProvider } from '../types/providers'; +import type { AIProvider } from '../types/providers'; +import type { ReportData } from '../types'; interface AnalyzeOptions { provider: AIProvider; @@ -512,8 +513,7 @@ export const analyzeWithMinimax = async (file: File, apiKey: string, model: stri ] } ], - temperature: 0.1, - response_format: { type: 'json_object' } + temperature: 0.1 }) }); diff --git a/services/apiTestService.ts b/services/apiTestService.ts index 2fc06ec..a193057 100644 --- a/services/apiTestService.ts +++ b/services/apiTestService.ts @@ -263,6 +263,8 @@ const testMinimax = async (apiKey: string): Promise => { return { success: true, models: [ + { id: 'minimax-m3', name: 'MiniMax M3' }, + { id: 'abab6.5s-chat', name: 'MiniMax Vision (abab6.5s)' }, { id: 'minimax-2.7', name: 'MiniMax 2.7' }, { id: 'minimax-3.0', name: 'MiniMax 3.0' } ] diff --git a/types/providers.ts b/types/providers.ts index d20bfbc..d54a607 100644 --- a/types/providers.ts +++ b/types/providers.ts @@ -69,8 +69,8 @@ export const PROVIDERS: ProviderConfig[] = [ { id: 'minimax', name: 'MiniMax', - description: 'Modelos MiniMax (2.7 e 3.0)', - models: ['minimax-2.7', 'minimax-3.0'], - defaultModel: 'minimax-2.7' + description: 'Modelos MiniMax (Vision \u0026 M3)', + models: ['abab6.5s-chat', 'minimax-m3', 'minimax-2.7', 'minimax-3.0'], + defaultModel: 'minimax-m3' } ]; \ No newline at end of file