.env.example 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. VITE_API_BASE_URL=http://localhost:8000
  2. VITE_APP_TITLE=AX Document Editor
  3. VITE_DEBUG=false# API Base URL
  4. # This is the base URL for the backend API server
  5. # Default: http://localhost:8000
  6. VITE_API_BASE_URL=http://192.168.0.195:8000
  7. # Application Title
  8. # This will be displayed in the browser tab
  9. VITE_APP_TITLE=AX Document Editor
  10. # Debug Mode
  11. # Enable debug mode for development
  12. # Default: false
  13. VITE_DEBUG=false
  14. VITE_AI_API_URL=
  15. VITE_AI_API_KEY=
  16. VITE_WORKFLOW_API_URL=
  17. VITE_WORKFLOW_API_KEY=
  18. # AI Chat API Configuration
  19. # AI Platform API URL for chat completions (v1 - regular chat)
  20. VITE_AI_API_URL=http://114.242.25.27:3000/api/v1/chat/completions
  21. # AI Platform API Key
  22. # Get this from: 发布渠道 → API 访问 → 创建新 Key
  23. VITE_AI_API_KEY=your_api_key_here
  24. # Workflow API Configuration
  25. # Workflow API URL for document generation (v2 - with workflow)
  26. # This workflow connects to local backend export records API
  27. VITE_WORKFLOW_API_URL=http://114.242.25.27:3000/api/v2/chat/completions
  28. # Workflow API Key
  29. # Use the XAgent API key provided by the platform
  30. VITE_WORKFLOW_API_KEY=your_workflow_api_key_here