| 12345678910111213141516171819202122232425262728293031323334353637 |
- # 核心配置
- LOG_LEVEL=INFO
- SEARCH_API=hybrid
- MAX_WEB_RESEARCH_LOOPS=3
- FETCH_FULL_PAGE=True
- # TEXT模型配置 (LLM)
- LLM_PROVIDER=custom
- LLM_MODEL_ID=ecnu-max
- SMART_LLM_MODEL=ecnu-reasoner
- FAST_LLM_MODEL=ecnu-max
- LLM_API_KEY=your_ecnu_api_key_here
- LLM_BASE_URL=your_llm_base_url_here
- LLM_TIMEOUT=60
- # TTS 配置 (复用 ECNU API Key)
- TTS_API_KEY=your_ecnu_api_key_here
- TTS_BASE_URL=your_tts_base_url_here
- TTS_MODEL=ecnu-tts
- AUDIO_OUTPUT_DIR=output/audio
- NOTES_WORKSPACE=output/notes
- # 搜索 API 配置 (至少配置一项,使用 hybrid 模式需两项都配置)
- TAVILY_API_KEY=your_tavily_api_key_here
- SERPAPI_API_KEY=your_serpapi_api_key_here
- # FFmpeg 配置 (Windows 环境通常需要指定路径)
- FFMPEG_PATH=C:\ffmpeg\bin\ffmpeg.exe
- # 网络代理例外配置 (如有内网或特定 API 不需要走代理)
- NO_PROXY=chat.ecnu.edu.cn,api.longcat.chat,open.bigmodel.cn
- # 服务器配置
- HOST=0.0.0.0
- PORT=8000
- LOG_LEVEL=INFO
- CORS_ORIGINS=http://localhost:5173,http://localhost:5174,http://localhost:3000
|