Deploy Inicial do SteelCheck com Docker Build Automatizado
This commit is contained in:
+1
-1
@@ -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"):
|
||||
|
||||
@@ -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
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
@@ -263,6 +263,8 @@ const testMinimax = async (apiKey: string): Promise<TestResult> => {
|
||||
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' }
|
||||
]
|
||||
|
||||
+3
-3
@@ -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'
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user