zhizhi/persona-studio/backend/routes
copilot-swe-agent[bot] a32c737073 feat: upgrade Persona Studio login to support API Key auto-detect model mode
- Add backend route POST /api/ps/apikey/detect-models for model auto-detection with 1-hour caching
- Add backend route POST /api/ps/apikey/chat for proxying chat through user's own API credentials
- Update login page with API Key login section (API Base URL + API Key + model detection + model list)
- Update chat.js to support API Key mode with dynamic model usage (selected_model)
- Update styles for API Key login UI (detect status, model list, etc.)
- Add smoke tests for new endpoints and dev_id login backward compatibility
- Security: API Key stored only in sessionStorage, never persisted on backend

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 12:06:23 +00:00
..
apikey.js feat: upgrade Persona Studio login to support API Key auto-detect model mode 2026-03-10 12:06:23 +00:00
auth.js feat: establish Persona Studio human developer numbering system v1.0 2026-03-10 11:02:52 +00:00
build.js feat: persona-studio 后端服务 + 智能模型路由 + 部署集成 2026-03-10 05:15:56 +00:00
chat.js 修复 Persona Studio 聊天交互 · 添加访客体验模式 · 恢复核心大脑 · 创建跨仓库同步 2026-03-10 07:18:47 +00:00
notify.js feat: persona-studio 后端服务 + 智能模型路由 + 部署集成 2026-03-10 05:15:56 +00:00