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
|
return None
|
||||||
|
|
||||||
# Mudar para o diretório do projeto
|
# 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
|
# Inicializar Git se necessário
|
||||||
if not os.path.exists(".git"):
|
if not os.path.exists(".git"):
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { GoogleGenAI, Type } from "@google/genai";
|
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 {
|
interface AnalyzeOptions {
|
||||||
provider: AIProvider;
|
provider: AIProvider;
|
||||||
@@ -512,8 +513,7 @@ export const analyzeWithMinimax = async (file: File, apiKey: string, model: stri
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
temperature: 0.1,
|
temperature: 0.1
|
||||||
response_format: { type: 'json_object' }
|
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -263,6 +263,8 @@ const testMinimax = async (apiKey: string): Promise<TestResult> => {
|
|||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
models: [
|
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-2.7', name: 'MiniMax 2.7' },
|
||||||
{ id: 'minimax-3.0', name: 'MiniMax 3.0' }
|
{ id: 'minimax-3.0', name: 'MiniMax 3.0' }
|
||||||
]
|
]
|
||||||
|
|||||||
+3
-3
@@ -69,8 +69,8 @@ export const PROVIDERS: ProviderConfig[] = [
|
|||||||
{
|
{
|
||||||
id: 'minimax',
|
id: 'minimax',
|
||||||
name: 'MiniMax',
|
name: 'MiniMax',
|
||||||
description: 'Modelos MiniMax (2.7 e 3.0)',
|
description: 'Modelos MiniMax (Vision \u0026 M3)',
|
||||||
models: ['minimax-2.7', 'minimax-3.0'],
|
models: ['abab6.5s-chat', 'minimax-m3', 'minimax-2.7', 'minimax-3.0'],
|
||||||
defaultModel: 'minimax-2.7'
|
defaultModel: 'minimax-m3'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
Reference in New Issue
Block a user