- deploy-pages.yml: add copilot/** branch pattern so Copilot Agent PRs
auto-deploy to GitHub Pages while under review (no hardcoded branch name)
- docs/index.html: v3.1 version comment triggers the deploy on this push
This makes the live site immediately show: auto-detect API key, Gemini
provider, sessionStorage key (no cross-session stale key), and all other
fixes from this PR branch.
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
- Add 🔍 自动检测 button in setup form and settings panel
- autoDetectAPI() probes GET /models on all known providers
(yunwu → openai → gemini → deepseek → moonshot → zhipu)
- Custom endpoint is tried first if one is set
- Auto-fills provider select + model dropdown with live API response
- 8s timeout per probe (PROBE_TIMEOUT_MS constant)
- Shows inline loading/success/error feedback
- Add .det-btn CSS class for consistent button styling
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
- Add gemini entry to PROVS with OpenAI-compatible endpoint
(https://generativelanguage.googleapis.com/v1beta/openai)
- Include models: gemini-2.0-flash, gemini-2.0-flash-lite, gemini-1.5-pro, gemini-1.5-flash
- Add 🔮 Google Gemini option to setup form and settings panel dropdowns
- Fixes 405 error caused by user entering raw "gemini" text as endpoint URL
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>