env.example 1018 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # 核心配置
  2. LOG_LEVEL=INFO
  3. SEARCH_API=hybrid
  4. MAX_WEB_RESEARCH_LOOPS=3
  5. FETCH_FULL_PAGE=True
  6. # TEXT模型配置 (LLM)
  7. LLM_PROVIDER=custom
  8. LLM_MODEL_ID=ecnu-max
  9. SMART_LLM_MODEL=ecnu-reasoner
  10. FAST_LLM_MODEL=ecnu-max
  11. LLM_API_KEY=your_ecnu_api_key_here
  12. LLM_BASE_URL=your_llm_base_url_here
  13. LLM_TIMEOUT=60
  14. # TTS 配置 (复用 ECNU API Key)
  15. TTS_API_KEY=your_ecnu_api_key_here
  16. TTS_BASE_URL=your_tts_base_url_here
  17. TTS_MODEL=ecnu-tts
  18. AUDIO_OUTPUT_DIR=output/audio
  19. NOTES_WORKSPACE=output/notes
  20. # 搜索 API 配置 (至少配置一项,使用 hybrid 模式需两项都配置)
  21. TAVILY_API_KEY=your_tavily_api_key_here
  22. SERPAPI_API_KEY=your_serpapi_api_key_here
  23. # FFmpeg 配置 (Windows 环境通常需要指定路径)
  24. FFMPEG_PATH=C:\ffmpeg\bin\ffmpeg.exe
  25. # 网络代理例外配置 (如有内网或特定 API 不需要走代理)
  26. NO_PROXY=chat.ecnu.edu.cn,api.longcat.chat,open.bigmodel.cn
  27. # 服务器配置
  28. HOST=0.0.0.0
  29. PORT=8000
  30. LOG_LEVEL=INFO
  31. CORS_ORIGINS=http://localhost:5173,http://localhost:5174,http://localhost:3000