/** * 全局配置文件 * 在其他机器测试时,修改此文件中的BACKEND_URL */ // 后端服务地址配置 // 本地测试: 'http://localhost:8080' // 远程测试: 'http://后端服务器IP:8080' 例如 'http://192.168.1.100:8080' window.BACKEND_URL = 'http://101.200.154.78:8080'; // 其他配置项可以在这里添加 window.APP_CONFIG = { // 是否启用调试模式 debug: true, // 默认聊天模式 defaultChatMode: 'chat', // 'chat' 或 'research' // 流式响应配置 useStreamResponse: true, // 版本信息 version: '1.0.0' };