- Frontend index.html: Replace backend proxy model detection with direct browser fetch to user's API /models endpoint, add KNOWN_ENDPOINTS auto-probing, AbortController timeout - Frontend chat.js: Replace backend proxy chat with direct browser fetch to user's API /chat/completions with streaming support - Backend apikey.js: Add URL format validation (INVALID_API_BASE) and specific error codes (DNS_ERROR, NETWORK_ERROR, TIMEOUT) - Backend server.js: Add /api/health endpoint for smoke test compatibility Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| brain | ||
| routes | ||
| utils | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||