MahjongGameDesigner / env_example.txt
Estazz's picture
Upload 20 files
a705843 verified
raw
history blame contribute delete
901 Bytes
# DeepSeek V3 API 环境变量配置示例
# 如果不设置这些环境变量,程序会使用 config.py 中的默认值
# DeepSeek V3 API Key
DEEPSEEK_API_KEY=tmBBchNoClGSrUmV
# DeepSeek V3 API Base URL
DEEPSEEK_BASE_URL=http://env-cvcgvp6m1hkmaaarobeg-cn-wulanchabu.alicloudapi.com/v1
# 模型名称
MODEL_NAME=DeepSeek-V3-0324
# ===============================
# 使用方法:
# ===============================
#
# 在 Linux/Mac 上:
# export DEEPSEEK_API_KEY="your-api-key"
# export DEEPSEEK_BASE_URL="your-base-url"
# export MODEL_NAME="DeepSeek-V3-0324"
#
# 在 Windows 上:
# set DEEPSEEK_API_KEY=your-api-key
# set DEEPSEEK_BASE_URL=your-base-url
# set MODEL_NAME=DeepSeek-V3-0324
#
# 或使用 .env 文件(需要安装 python-dotenv):
# 1. 将本文件重命名为 .env
# 2. pip install python-dotenv
# 3. 在代码中添加:from dotenv import load_dotenv; load_dotenv()