Elffuss BraidHub

utopia-ia/elffuss-claw public

Settings: the stopped Ornith server provider is no longer offered

"Servidor Elffuss (Ornith 9B)" could never load: its endpoint is no longer
'/v1', so the API key check applies, while the form hides the key field for
this provider; selecting it always failed with "falta la clave de API". The
service is also stopped (GET /v1/models answers 404). It is marked retirado:
configs() and enabledExternals() leave it out, so it is neither in Settings
nor in the model picker, even if it was enabled before. The template stays
for when the service comes back; then its endpoint must also be exempt from
the key check.
Changesetb1ff3f090cdffa2f1e25a84a929631eae658ff752c64c6fe32bcc1b5a256b398
AuthorKikoCis <kikocisneros@gmail.com> · 2026-10-10 16:52 +02:00
CommitterKikoCis <kikocisneros@gmail.com> · 2026-10-11 17:49 +02:00
Parents9f876eddee92

Browse the files at this changeset

1 file changed

modified web/js/settings.js +11 −2
@@ -23,6 +23,12 @@
2323 },
2424 server: {
2525 kind: 'openai', label: 'Servidor Elffuss (Ornith 9B)', enabled: false,
26+ // RETIRADO de la interfaz: el servicio está parado (/v1/models da 404) y,
27+ // como el formulario esconde la clave para este proveedor y la ruta ya no es
28+ // '/v1', elegirlo fallaba SIEMPRE con «falta la clave de API». Se conserva la
29+ // plantilla para volver a ofrecerlo quitando esta marca cuando el servicio
30+ // vuelva (y entonces su ruta tiene que quedar exenta de la clave).
31+ retirado: true,
2632 // Apagado: el servicio del modelo (elffuss-lm) está parado. El mismo valor que
2733 // en Elffuss Code. La ruta /v1 la resolvería nginx en el servidor (no está en
2834 // este repo). Los nombres anteriores (claw.elffuss.utopiaia.com y
@@ -42,7 +48,10 @@
4248 return out;
4349 }
4450
45-export function configs() { return load(); }
51+// Los que se ofrecen (sin los retirados).
52+export function configs() {
53+ return Object.fromEntries(Object.entries(load()).filter(([, c]) => !c.retirado));
54+}
4655 export function get(id) { return load()[id]; }
4756
4857 export function update(id, patch) {
@@ -58,7 +67,7 @@
5867
5968 // Externos habilitados → opciones del selector, como ext:<id>.
6069 export function enabledExternals() {
61- return Object.entries(load())
70+ return Object.entries(configs())
6271 .filter(([, c]) => c.enabled)
6372 .map(([id, c]) => ({ id: 'ext:' + id, label: c.label + (id === 'ollama' || c.baseURL.startsWith('http://localhost') ? ' · local' : ' · nube') }));
6473 }