Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OAUTH.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Two notable presets are:
- Stored env file: `~/.config/jcode/minimax.env`
- API key env var: `OPENAI_API_KEY`
- Base URL: `https://api.minimax.io/v1`
- Default model hint: `MiniMax-M2.7`
- Default model hint: `MiniMax-M3`
- Docs: <https://platform.minimax.io/docs/guides/text-generation>

These are first-class jcode provider presets, not just manual custom endpoint examples.
Expand Down
2 changes: 1 addition & 1 deletion crates/jcode-base/src/live_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const ISSUE_DRIVEN_LIVE_PROVIDER_TARGETS: &[IssueDrivenLiveProviderTarget] = &[
IssueDrivenLiveProviderTarget {
provider_id: "minimax",
provider_label: "MiniMax",
model: Some("MiniMax-M2.7"),
model: Some("MiniMax-M3"),
reason: "MiniMax endpoint/key-region selection and live balance/readiness",
issue_refs: &["#110", "#131", "#189"],
},
Expand Down
2 changes: 1 addition & 1 deletion crates/jcode-base/src/provider/openrouter_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ fn minimax_profile_exposes_static_models_before_catalog_refresh() {
jcode_provider_metadata::MINIMAX_PROFILE,
);

assert!(models.iter().any(|model| model == "MiniMax-M3"));
assert!(models.iter().any(|model| model == "MiniMax-M2.7"));
assert!(models.iter().any(|model| model == "MiniMax-M2.7-highspeed"));
assert!(models.iter().any(|model| model == "MiniMax-M2"));
}

#[test]
Expand Down
6 changes: 1 addition & 5 deletions crates/jcode-base/src/provider_catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,9 @@ pub fn openai_compatible_profile_static_models(profile: OpenAiCompatibleProfile)
// before the picker/routes are rebuilt. Keep the documented text models
// selectable immediately after saving a key.
"minimax" => {
push("MiniMax-M3");
push("MiniMax-M2.7");
push("MiniMax-M2.7-highspeed");
push("MiniMax-M2.5");
push("MiniMax-M2.5-highspeed");
push("MiniMax-M2.1");
push("MiniMax-M2.1-highspeed");
push("MiniMax-M2");
}
"alibaba-coding-plan" => {
push("qwen3-coder-plus");
Expand Down
2 changes: 1 addition & 1 deletion crates/jcode-provider-metadata/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ pub const MINIMAX_PROFILE: OpenAiCompatibleProfile = OpenAiCompatibleProfile {
api_key_env: "OPENAI_API_KEY",
env_file: "minimax.env",
setup_url: "https://platform.minimax.io/docs/guides/text-generation",
default_model: Some("MiniMax-M2.7"),
default_model: Some("MiniMax-M3"),
requires_api_key: true,
};

Expand Down