mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-20 23:57:11 -04:00
[PR #183] [CLOSED] feat: add MiniMax provider support #219
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vxcontrol/pentagi/pull/183
Author: @ximiximi423
Created: 3/9/2026
Status: ❌ Closed
Base:
feature/next_release← Head:feature/add-minimax-provider📝 Commits (1)
6c05fb4feat: add MiniMax provider support📊 Changes
22 files changed (+698 additions, -4 deletions)
View changed files
📝
.env.example(+4 -0)📝
backend/cmd/installer/wizard/controller/controller.go(+17 -0)📝
backend/cmd/installer/wizard/locale/locale.go(+21 -0)📝
backend/cmd/installer/wizard/models/llm_provider_form.go(+10 -2)📝
backend/cmd/installer/wizard/models/llm_providers.go(+1 -0)📝
backend/cmd/installer/wizard/models/types.go(+2 -0)📝
backend/cmd/installer/wizard/registry/registry.go(+1 -0)➕
backend/migrations/sql/20260309_000000_add_minimax_provider.sql(+10 -0)📝
backend/pkg/config/config.go(+4 -0)📝
backend/pkg/database/models.go(+1 -0)📝
backend/pkg/graph/generated.go(+167 -0)📝
backend/pkg/graph/model/models_gen.go(+6 -1)📝
backend/pkg/graph/schema.graphqls(+4 -0)📝
backend/pkg/graph/schema.resolvers.go(+8 -0)➕
backend/pkg/providers/minimax/config.yml(+121 -0)➕
backend/pkg/providers/minimax/minimax.go(+167 -0)➕
backend/pkg/providers/minimax/minimax_test.go(+106 -0)➕
backend/pkg/providers/minimax/models.yml(+16 -0)📝
backend/pkg/providers/provider/provider.go(+2 -0)📝
backend/pkg/providers/providers.go(+26 -0)...and 2 more files
📄 Description
Summary
Add MiniMax as a new LLM provider with OpenAI-compatible API integration.
Supported Models
Both models support 204,800 tokens context window.
Changes
pkg/providers/minimax/)config.yml,models.yml)MINIMAX_API_KEYandMINIMAX_SERVER_URLenvironment variablesminimaxprovider type and resolversPROVIDER_TYPEenumdocker-compose.ymland.env.exampleAPI Documentation
Test Plan
go test ./pkg/providers/minimax/...)go vetpasses🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.