-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathconfig-minimax.toml
More file actions
25 lines (23 loc) · 1 KB
/
Copy pathconfig-minimax.toml
File metadata and controls
25 lines (23 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# MiniMax recipe for Codex CLI.
# Copy the blocks below into ~/.codex/config.toml to activate.
# This file is NOT auto-loaded; Codex only reads config.toml.
#
# Compatibility note (as of 2026-04):
# Codex CLI no longer accepts wire_api = "chat" (openai/codex PR #10157,
# merged 2026-02-03). MiniMax's OpenAI-compatible endpoint exposes only
# /v1/chat/completions, so pointing base_url at api.minimax.io directly
# will fail at either parse time or runtime.
#
# Workaround: run a Responses API translation proxy locally (LiteLLM,
# LM Studio, or llama.cpp server) that forwards to MiniMax, then set
# base_url to the proxy URL below.
#
# Claude Code users: MiniMax's Anthropic-compatible endpoint works directly
# without a proxy. See .claude/settings-minimax.json and README.md.
model = "MiniMax-M3"
model_provider = "minimax"
[model_providers.minimax]
name = "MiniMax"
base_url = "http://localhost:4000/v1" # local Responses API proxy, not api.minimax.io
env_key = "MINIMAX_API_KEY"
wire_api = "responses"