env.example 821 B

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