mirror of
https://github.com/danielmiessler/fabric.git
synced 2026-09-10 07:36:44 -04:00
feat: 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
This commit is contained in:
parent
9eb85725da
commit
e2c28c8f19
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue