pdf-quiz-generator/frontend
Daniel d896239690
Some checks failed
Tests / backend (push) Failing after 4s
Tests / frontend (push) Successful in 27s
Tests / e2e (push) Failing after 29s
feat: turn a model off without losing it, and allow one the proxy never listed
The two things ped-ai's models page has that this one did not. Both were
already possible over the API — PUT /admin/models/{id} takes is_active,
and POST /admin/models never checked its model_id against the proxy —
so this is the page catching up with what the server already allowed.

Off, not gone. Taking a model out while the proxy misbehaved meant
removing it and then finding it in the catalogue and setting it up
again, losing whether it was the default and any key on it. The row
stays now, struck through and marked off, and comes back with one press.
get_model_for_task already filters on is_active, so off means off.

And a model id can be typed. Discovery reads /model/info, and a gateway
routes plenty it does not advertise there — a new alias, a provider
added by hand — so a roster limited to that list is a roster that cannot
hold what the gateway can actually serve.

Verified on the live page: twelve toggles on the speech job, the typed
field present, the six Kokoro and six Orpheus voices listed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TqXevQJhxFrM7jJg82cgZN
2026-09-13 16:38:25 +02:00
..
public Tag filtering, multi-category, bug fixes, image validation, docs 2026-04-04 22:48:26 +02:00
src feat: turn a model off without losing it, and allow one the proxy never listed 2026-09-13 16:38:25 +02:00
.dockerignore Initial commit: PDF Quiz Generator app 2026-03-30 20:04:53 +00:00
docker-entrypoint.sh feat: Cap on its own host, hints per topic, and an objective is asked for 2026-09-12 06:24:23 +02:00
Dockerfile Remove coach modes and improve quiz audio 2026-05-10 01:24:06 +02:00
index.html Tag filtering, multi-category, bug fixes, image validation, docs 2026-04-04 22:48:26 +02:00
nginx.conf feat: 20 MB on an upload, and delete one where they are listed 2026-09-13 16:12:29 +02:00
package-lock.json Remove coach modes and improve quiz audio 2026-05-10 01:24:06 +02:00
package.json Remove coach modes and improve quiz audio 2026-05-10 01:24:06 +02:00
vite.config.js Remove coach modes and improve quiz audio 2026-05-10 01:24:06 +02:00