Skip to content
Closed
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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async-trait = "0.1"

# HTTP client
reqwest = { version = "0.12", features = ["json", "stream", "blocking"] }
tokio-tungstenite = { version = "0.24", default-features = false, features = ["connect", "rustls-tls-native-roots"] }
tokio-tungstenite = { version = "0.24", default-features = false, features = ["connect", "handshake", "rustls-tls-native-roots"] }

# Serialization
serde = { version = "1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion OAUTH.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Two notable presets are:
- Login: `jcode login --provider minimax`
- Stored env file: `~/.config/jcode/minimax.env`
- API key env var: `OPENAI_API_KEY`
- Base URL: `https://api.minimaxi.com/v1`
- Base URL: `https://api.minimax.io/v1`
- Default model hint: `MiniMax-M2.7`
- Docs: <https://platform.minimax.io/docs/api-reference/text-openai-api>

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,9 @@ jcode
# Run a single command non-interactively
jcode run "say hello"

# Stream machine-readable events for external orchestrators
jcode run --ndjson "say hello"

# Resume a previous session by memorable name
jcode --resume fox

Expand Down Expand Up @@ -611,6 +614,7 @@ Notes:

- [Ambient Mode / OpenClaw](docs/AMBIENT_MODE.md)
- [Browser Provider Protocol](docs/BROWSER_PROVIDER_PROTOCOL.md)
- [Non-Interactive Orchestrator API](docs/NON_INTERACTIVE_API.md)
- [Memory Architecture](docs/MEMORY_ARCHITECTURE.md)
- [Swarm Architecture](docs/SWARM_ARCHITECTURE.md)
- [Server Architecture](docs/SERVER_ARCHITECTURE.md)
Expand Down
4 changes: 2 additions & 2 deletions crates/jcode-provider-metadata/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ pub const FIREWORKS_PROFILE: OpenAiCompatibleProfile = OpenAiCompatibleProfile {
pub const MINIMAX_PROFILE: OpenAiCompatibleProfile = OpenAiCompatibleProfile {
id: "minimax",
display_name: "MiniMax",
api_base: "https://api.minimaxi.com/v1",
api_base: "https://api.minimax.io/v1",
api_key_env: "OPENAI_API_KEY",
env_file: "minimax.env",
setup_url: "https://platform.minimax.io/docs/api-reference/text-openai-api",
Expand Down Expand Up @@ -1268,7 +1268,7 @@ mod tests {

#[test]
fn minimax_profile_uses_official_openai_compatible_configuration() {
assert_eq!(MINIMAX_PROFILE.api_base, "https://api.minimaxi.com/v1");
assert_eq!(MINIMAX_PROFILE.api_base, "https://api.minimax.io/v1");
assert_eq!(MINIMAX_PROFILE.api_key_env, "OPENAI_API_KEY");
}

Expand Down
Loading