Merge pull request #1897 from ksylvan/kayvan/add-minimax-vendor

feat: add MiniMax provider support to OpenAI compatible plugin
This commit is contained in:
Kayvan Sylvan
2025-12-22 15:01:53 -08:00
committed by GitHub
3 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
### PR [#1897](https://github.com/danielmiessler/Fabric/pull/1897) by [ksylvan](https://github.com/ksylvan): feat: add MiniMax provider support to OpenAI compatible plugin
- Add MiniMax provider support to OpenAI compatible plugin
- Add MiniMax provider configuration to ProviderMap
- Set MiniMax base URL to api.minimaxi.com/v1
- Configure MiniMax with ImplementsResponses as false
- Add test case for MiniMax provider validation

View File

@@ -165,6 +165,11 @@ var ProviderMap = map[string]ProviderConfig{
BaseURL: "http://localhost:4000",
ImplementsResponses: false,
},
"MiniMax": {
Name: "MiniMax",
BaseURL: "https://api.minimaxi.com/v1",
ImplementsResponses: false,
},
"Mistral": {
Name: "Mistral",
BaseURL: "https://api.mistral.ai/v1",

View File

@@ -30,6 +30,11 @@ func TestCreateClient(t *testing.T) {
provider: "Abacus",
exists: true,
},
{
name: "Existing provider - MiniMax",
provider: "MiniMax",
exists: true,
},
{
name: "Non-existent provider",
provider: "NonExistent",