Files
cc-haha/.env.example
octo-patch b2e58a1bb7 feat: add MiniMax-M2.7 as default model and update API endpoint
- Add MiniMax-M2.7 as the recommended default chat model
- Add MiniMax-M2.7-highspeed as a faster alternative
- Update base URL to api.minimax.io (international) with note about api.minimaxi.com for China
- Add model comparison table in documentation (both CN and EN)
- Add API key registration link to MiniMax Open Platform
2026-04-09 06:46:56 +08:00

54 lines
2.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================================
# MiniMax直连 Anthropic 兼容接口)
# 海外用户: ANTHROPIC_BASE_URL=https://api.minimax.io/anthropic
# 国内用户: ANTHROPIC_BASE_URL=https://api.minimaxi.com/anthropic
# 可用模型: MiniMax-M2.7默认、MiniMax-M2.7-highspeed更快
# ============================================================
# ANTHROPIC_AUTH_TOKEN=your_minimax_api_key_here
# ANTHROPIC_BASE_URL=https://api.minimax.io/anthropic
# ANTHROPIC_MODEL=MiniMax-M2.7
# ANTHROPIC_DEFAULT_SONNET_MODEL=MiniMax-M2.7
# ANTHROPIC_DEFAULT_HAIKU_MODEL=MiniMax-M2.7-highspeed
# ANTHROPIC_DEFAULT_OPUS_MODEL=MiniMax-M2.7
# API_TIMEOUT_MS=3000000
# ============================================================
# OpenAI通过 LiteLLM 代理)
# 先启动: litellm --config litellm_config.yaml --port 4000
# ============================================================
# ANTHROPIC_AUTH_TOKEN=sk-anything
# ANTHROPIC_BASE_URL=http://localhost:4000
# ANTHROPIC_MODEL=gpt-4o
# ANTHROPIC_DEFAULT_SONNET_MODEL=gpt-4o
# ANTHROPIC_DEFAULT_HAIKU_MODEL=gpt-4o
# ANTHROPIC_DEFAULT_OPUS_MODEL=gpt-4o
# API_TIMEOUT_MS=3000000
# ============================================================
# DeepSeek通过 LiteLLM 代理)
# 先启动: litellm --config litellm_config.yaml --port 4000
# ============================================================
# ANTHROPIC_AUTH_TOKEN=sk-anything
# ANTHROPIC_BASE_URL=http://localhost:4000
# ANTHROPIC_MODEL=deepseek-chat
# ANTHROPIC_DEFAULT_SONNET_MODEL=deepseek-chat
# ANTHROPIC_DEFAULT_HAIKU_MODEL=deepseek-chat
# ANTHROPIC_DEFAULT_OPUS_MODEL=deepseek-chat
# API_TIMEOUT_MS=3000000
# ============================================================
# OpenRouter直连 Anthropic 兼容接口)
# ============================================================
# ANTHROPIC_AUTH_TOKEN=sk-or-v1-xxx
# ANTHROPIC_BASE_URL=https://openrouter.ai/api/v1
# ANTHROPIC_MODEL=openai/gpt-4o
# ANTHROPIC_DEFAULT_SONNET_MODEL=openai/gpt-4o
# ANTHROPIC_DEFAULT_HAIKU_MODEL=openai/gpt-4o-mini
# ANTHROPIC_DEFAULT_OPUS_MODEL=openai/gpt-4o
# ============================================================
# 通用设置(建议始终开启)
# ============================================================
DISABLE_TELEMETRY=1
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1