fix: use correct MiniMax endpoint, model name, and add .venv to gitignore
This commit is contained in:
@@ -25,7 +25,7 @@ _BACKEND_DEFAULT_MODELS = {
|
||||
"claude_chat": "claude-sonnet-4-6",
|
||||
"claude_code_exec": "claude-sonnet-4-6",
|
||||
"qwen_chat": "Qwen/Qwen3.5-4B",
|
||||
"minimax_chat": "MiniMax/MiniMax-Text-01",
|
||||
"minimax_chat": "MiniMax-M2.7",
|
||||
}
|
||||
|
||||
_BACKEND_ALIASES = {
|
||||
|
||||
@@ -17,7 +17,7 @@ from skillopt.model.common import (
|
||||
default_model_for_backend,
|
||||
)
|
||||
|
||||
BASE_URL = os.environ.get("MINIMAX_BASE_URL", "https://api.minimax.chat/v1")
|
||||
BASE_URL = os.environ.get("MINIMAX_BASE_URL", "https://api.minimax.io/v1")
|
||||
API_KEY = os.environ.get("MINIMAX_API_KEY", "")
|
||||
TIMEOUT_SECONDS = float(os.environ.get("MINIMAX_TIMEOUT_SECONDS", "300") or 300)
|
||||
MAX_TOKENS = int(os.environ.get("MINIMAX_MAX_TOKENS", "8000") or 8000)
|
||||
|
||||
Reference in New Issue
Block a user