MiniMax-M1 / start.sh
sriting's picture
feat: add demo
ed51c69
raw
history blame contribute delete
503 Bytes
#!/bin/bash
# 设置环境变量
export API_URL="https://api.minimaxi.chat/v1/text/chatcompletion_v2"
export MODEL_CONTROL_DEFAULTS='{"tokens_to_generate": 40000, "temperature": 1, "top_p": 0.95}'
export MODEL_VERSION="MiniMax-M1"
export API_KEY="your_api_key_here" # 请替换为你的实际API密钥
# 可选环境变量
export SYSTEM_PROMPT="你是MiniMax M1,一个有用的AI助手"
export MULTIMODAL="ON"
export SYSTEM_NAME="MiniMax M1"
export USER_NAME="用户"
# 启动应用
python app.py