Root cause: Persona Studio frontend sent requests to /api/ps/apikey/detect-models but api-proxy.js (port 3721, the only backend Nginx routes to) didn't handle those paths. The separate persona-studio backend (port 3002) was never deployed via ecosystem.config.js or Nginx. Fix: Add detect-models and chat handlers directly to api-proxy.js so they work through the same Nginx → API Proxy chain that the docs main site already uses successfully. Also update frontend to point to port 3721 for local dev, and improve error messages. Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| chat.html | ||
| chat.js | ||
| index.html | ||
| style.css | ||