fix(onboard): refresh MiniMax defaults and endpoint (#299)
This commit is contained in:
parent
3fd901a5ec
commit
8882746ced
6 changed files with 168 additions and 7 deletions
|
|
@ -221,7 +221,10 @@ pub fn create_provider(name: &str, api_key: Option<&str>) -> anyhow::Result<Box<
|
|||
"GLM", "https://open.bigmodel.cn/api/paas/v4", key, AuthStyle::Bearer,
|
||||
))),
|
||||
"minimax" => Ok(Box::new(OpenAiCompatibleProvider::new(
|
||||
"MiniMax", "https://api.minimax.chat", key, AuthStyle::Bearer,
|
||||
"MiniMax",
|
||||
"https://api.minimaxi.com/v1",
|
||||
key,
|
||||
AuthStyle::Bearer,
|
||||
))),
|
||||
"bedrock" | "aws-bedrock" => Ok(Box::new(OpenAiCompatibleProvider::new(
|
||||
"Amazon Bedrock",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue