copilot-swe-agent[bot]
|
723f6b16bc
|
feat: add backend API proxy layer for China network access
- backend-integration/api-proxy.js: Node.js proxy with SSE streaming passthrough
- Supports DeepSeek/Moonshot/Zhipu (China-direct) + Yunwu/OpenAI/Gemini
- API keys managed server-side via environment variables
- Rate limiting (10 req/min per IP)
- CORS support for cross-origin access
- Health check and model listing endpoints
- backend-integration/nginx-api-proxy.conf: Nginx config reference
- docs/index.html: Added "后端代理" provider option (no API key required)
- package.json: Added proxy:start script
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
|
2026-03-07 07:31:58 +00:00 |