Skip to content

feat: add MiniMax as a model provider (default M3)#2717

Open
octo-patch wants to merge 2 commits into
ModelEngine-Group:mainfrom
octo-patch:feature/add-minimax-provider
Open

feat: add MiniMax as a model provider (default M3)#2717
octo-patch wants to merge 2 commits into
ModelEngine-Group:mainfrom
octo-patch:feature/add-minimax-provider

feat: upgrade MiniMax default model to M3

e09f2b8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 7, 2026 in 1m 16s

Quality Gate failed

Failed conditions
30.5% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 157 in backend/services/model_provider_service.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to not always return the same value.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUl14GsbWVQpNR3E&open=AZ6grUl14GsbWVQpNR3E&pullRequest=2717

Check warning on line 410 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR22&open=AZ6grUhM4GsbWVQpNR22&pullRequest=2717

Check failure on line 20 in backend/services/providers/minimax_provider.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUle4GsbWVQpNR3C&open=AZ6grUle4GsbWVQpNR3C&pullRequest=2717

Check warning on line 670 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR2-&open=AZ6grUhM4GsbWVQpNR2-&pullRequest=2717

Check warning on line 489 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR23&open=AZ6grUhM4GsbWVQpNR23&pullRequest=2717

Check warning on line 583 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR28&open=AZ6grUhM4GsbWVQpNR28&pullRequest=2717

Check warning on line 576 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR27&open=AZ6grUhM4GsbWVQpNR27&pullRequest=2717

Check warning on line 730 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR3B&open=AZ6grUhM4GsbWVQpNR3B&pullRequest=2717

Check failure on line 38 in backend/services/providers/minimax_provider.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Enable server certificate validation on this SSL/TLS connection.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUle4GsbWVQpNR3D&open=AZ6grUle4GsbWVQpNR3D&pullRequest=2717

Check warning on line 84 in frontend/hooks/model/useMinimaxModelList.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUOj4GsbWVQpNR20&open=AZ6grUOj4GsbWVQpNR20&pullRequest=2717

Check warning on line 712 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR3A&open=AZ6grUhM4GsbWVQpNR3A&pullRequest=2717

Check warning on line 540 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unnecessary use of conditional expression for default assignment.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR26&open=AZ6grUhM4GsbWVQpNR26&pullRequest=2717

Check warning on line 490 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR24&open=AZ6grUhM4GsbWVQpNR24&pullRequest=2717

Check warning on line 77 in frontend/hooks/model/useMinimaxModelList.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUOj4GsbWVQpNR2z&open=AZ6grUOj4GsbWVQpNR2z&pullRequest=2717

Check warning on line 297 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "getProviderSelectedModalList".

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR21&open=AZ6grUhM4GsbWVQpNR21&pullRequest=2717

Check warning on line 493 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR25&open=AZ6grUhM4GsbWVQpNR25&pullRequest=2717

Check warning on line 696 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR2_&open=AZ6grUhM4GsbWVQpNR2_&pullRequest=2717

Check warning on line 640 in frontend/app/[locale]/models/components/model/ModelAddDialog.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ6grUhM4GsbWVQpNR29&open=AZ6grUhM4GsbWVQpNR29&pullRequest=2717