env.example 743 B

1234567891011121314151617181920212223242526272829
  1. # 核心配置
  2. LOG_LEVEL=INFO
  3. SEARCH_API=duckduckgo
  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. LLM_API_KEY=your_ecnu_api_key_here
  10. LLM_BASE_URL=your_openai_api_key_here
  11. LLM_TIMEOUT=60
  12. # TTS 配置 (复用 ECNU API Key)
  13. TTS_API_KEY=your_ecnu_api_key_here
  14. TTS_BASE_URL=your_openai_api_key_here
  15. TTS_MODEL=ecnu-tts
  16. AUDIO_OUTPUT_DIR=./output/audio
  17. # FFmpeg 配置 (Windows 环境通常需要指定路径)
  18. FFMPEG_PATH=C:\ffmpeg\bin\ffmpeg.exe
  19. # 网络代理例外配置 (如有内网或特定 API 不需要走代理)
  20. NO_PROXY=chat.ecnu.edu.cn,api.longcat.chat,open.bigmodel.cn
  21. # 服务器配置
  22. HOST=0.0.0.0
  23. PORT=8000
  24. CORS_ORIGINS=http://localhost:5173,http://localhost:3000