mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-10 06:48:04 -05:00
Merge pull request #1897 from ksylvan/kayvan/add-minimax-vendor
feat: add MiniMax provider support to OpenAI compatible plugin
This commit is contained in:
7
cmd/generate_changelog/incoming/1897.txt
Normal file
7
cmd/generate_changelog/incoming/1897.txt
Normal 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
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user