require('dotenv').config(); module.exports = { // API Key - 从环境变量读取,如果没有则使用默认值 API_KEY: process.env.API_KEY || "sk-j32LgDixK6pfESYGfJtgc2Tzlmszx5NZhSH0sOzpLQkYuKek", // Base URL - 从环境变量读取,如果没有则使用默认值 BASE_URL: process.env.BASE_URL || "https://api.chatanywhere.tech/v1", // 模型名称 MODEL_NAME: process.env.MODEL_NAME || "gpt-4.1", // 服务器端口 PORT: process.env.PORT || 8848 };