@@ -19,7 +19,6 @@ import {
1919 xaiModels ,
2020 groqModels ,
2121 groqDefaultModelId ,
22- // chutesModels, // kilocode_change
2322 chutesDefaultModelId ,
2423 vscodeLlmModels ,
2524 vscodeLlmDefaultModelId ,
@@ -37,8 +36,8 @@ import {
3736 doubaoDefaultModelId ,
3837 fireworksModels ,
3938 fireworksDefaultModelId ,
40- syntheticModels , // kilocode_change
41- syntheticDefaultModelId , // kilocode_change
39+ syntheticModels ,
40+ syntheticDefaultModelId ,
4241 ioIntelligenceDefaultModelId ,
4342 moonshotModels ,
4443 moonshotDefaultModelId ,
@@ -49,8 +48,10 @@ import {
4948 deepInfraDefaultModelId ,
5049 cerebrasModels ,
5150 cerebrasDefaultModelId ,
52- ovhCloudAiEndpointsDefaultModelId , // kilocode_change
53- inceptionDefaultModelId , // kilocode_change
51+ ovhCloudAiEndpointsDefaultModelId ,
52+ inceptionDefaultModelId ,
53+ minimaxModels ,
54+ minimaxDefaultModelId ,
5455} from "@roo-code/types"
5556import type { ModelRecord , RouterModels } from "@roo/api"
5657import { useRouterModels } from "../../ui/hooks/useRouterModels"
@@ -139,12 +140,10 @@ export const getModelsByProvider = ({
139140 }
140141 case "gemini" : {
141142 return {
142- // kilocode_change start
143143 models :
144144 routerModels . gemini && Object . keys ( routerModels . gemini ) . length > 0
145145 ? routerModels . gemini
146146 : geminiModels ,
147- // kilocode_change end
148147 defaultModel : geminiDefaultModelId ,
149148 }
150149 }
@@ -290,6 +289,12 @@ export const getModelsByProvider = ({
290289 defaultModel : deepInfraDefaultModelId ,
291290 }
292291 }
292+ case "minimax" : {
293+ return {
294+ models : minimaxModels ,
295+ defaultModel : minimaxDefaultModelId ,
296+ }
297+ }
293298 default :
294299 return {
295300 models : { } ,
@@ -307,11 +312,9 @@ export const useProviderModels = (apiConfiguration?: ProviderSettings) => {
307312 openRouterBaseUrl : apiConfiguration ?. openRouterBaseUrl ,
308313 openRouterApiKey : apiConfiguration ?. apiKey ,
309314 kilocodeOrganizationId : apiConfiguration ?. kilocodeOrganizationId ?? "personal" ,
310- // kilocode_change start
311315 chutesApiKey : apiConfiguration ?. chutesApiKey ,
312316 geminiApiKey : apiConfiguration ?. geminiApiKey ,
313317 googleGeminiBaseUrl : apiConfiguration ?. googleGeminiBaseUrl ,
314- // kilocode_change end
315318 } )
316319
317320 const { models, defaultModel } =
0 commit comments