Repository navigation
chore: remove 9 dead/unreachable free providers - #3054
Conversation
Verified via HTTP probe — API endpoints return 000/404/empty: - freetheai, enally, replicate, lepton, poolside, nomic - astraflow, petals, nanobanana (phantom: catalog but no registry) Also removed from: providerRegistry.ts, validation.ts, staticModels.ts, imageValidation.ts, open-sse/config/petals.ts
There was a problem hiding this comment.
Code Review
This pull request removes several dead or unused providers—including Lepton, Nomic, Poolside, Enally, FreeTheAI, Replicate, Petals, and Nanobanana—from the provider registry, static models, and validation configurations. The review feedback points out that the removal of the Nanobanana provider is incomplete as it is still defined in open-sse/config/imageRegistry.ts. Additionally, the reviewer notes that corresponding unit or integration tests must be updated or removed to align with the repository style guide regarding production code changes.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| baseUrl: "https://api.nanobananaapi.ai", | ||
| path: "/api/v1/common/credit", | ||
| }, | ||
| "fal-ai": { |
There was a problem hiding this comment.
The removal of the nanobanana provider is incomplete. While it has been removed from imageValidation.ts, staticModels.ts, and validation.ts, it is still defined in open-sse/config/imageRegistry.ts under IMAGE_PROVIDERS. Please ensure it is also removed from open-sse/config/imageRegistry.ts to prevent any inconsistent state or runtime errors when the application attempts to load or display image generation providers.
| authHeader: "bearer", | ||
| models: [{ id: "llama-3.1-8b", name: "Llama 3.1 8B" }], | ||
| }, | ||
|
|
There was a problem hiding this comment.
According to the Repository Style Guide (Rule 9), changing production code in src/ or open-sse/ requires including or updating tests. Since several dead providers are being removed, please ensure that any corresponding unit tests or integration tests that reference these providers are also updated or removed to keep the test suite clean and passing.
References
- Always include tests when changing production code (src/, open-sse/, electron/, bin/). (link)
Remove astraflow and astraflow-cn (UCloud) — API endpoints unreachable. Remaining dead providers (enally, freetheai, nanobanana, replicate, lepton, petals, poolside, nomic) have working main sites but dead API endpoints — need API keys. Will remove in follow-up.
Removed: freetheai, enally, replicate, lepton, poolside, nomic, astraflow, petals, nanobanana All verified as dead via live API probes (000/404/empty responses). Cleaned from providers.ts, providerRegistry.ts, validation.ts, staticModels.ts, and imageValidation.ts.
…sts) #3054 ("remove 9 dead/unreachable free providers") removed the petals/nanobanana configs, registry entries and validators but left dangling references that broke the build and the unit suite on release/v3.8.8: - open-sse/executors/petals.ts imported the deleted ../config/petals.ts (webpack "Module not found" → `next build` failed). Removed the executor, its registration + re-export in executors/index.ts, and the leftover `providerId === "petals"` branch in providerAllowsOptionalApiKey. - Removed tests for the now-deleted providers: executor-petals.test.ts and poolside-provider.test.ts (REGISTRY.poolside was removed), and the petals / nanobanana validator assertions in provider-validation-specialty.test.ts, plus the stale petals catalog assertions in providers-page-utils.test.ts, proxy-connection-test.test.ts and providers-route-managed-catalog.test.ts. The image/video/embed registries for nanobanana/replicate/nomic are real and untouched — only the dead chat/api-key surfaces were removed. 146/146 affected tests pass; typecheck / build clean.
* chore: remove 9 dead/unreachable free providers Verified via HTTP probe — API endpoints return 000/404/empty: - freetheai, enally, replicate, lepton, poolside, nomic - astraflow, petals, nanobanana (phantom: catalog but no registry) Also removed from: providerRegistry.ts, validation.ts, staticModels.ts, imageValidation.ts, open-sse/config/petals.ts * chore: remove dead astraflow providers Remove astraflow and astraflow-cn (UCloud) — API endpoints unreachable. Remaining dead providers (enally, freetheai, nanobanana, replicate, lepton, petals, poolside, nomic) have working main sites but dead API endpoints — need API keys. Will remove in follow-up. * chore: remove 9 dead/unreachable free providers Removed: freetheai, enally, replicate, lepton, poolside, nomic, astraflow, petals, nanobanana All verified as dead via live API probes (000/404/empty responses). Cleaned from providers.ts, providerRegistry.ts, validation.ts, staticModels.ts, and imageValidation.ts. --------- Co-authored-by: oyi77 <oyi77@users.noreply.github.com>
…r + stale tests) diegosouzapw#3054 ("remove 9 dead/unreachable free providers") removed the petals/nanobanana configs, registry entries and validators but left dangling references that broke the build and the unit suite on release/v3.8.8: - open-sse/executors/petals.ts imported the deleted ../config/petals.ts (webpack "Module not found" → `next build` failed). Removed the executor, its registration + re-export in executors/index.ts, and the leftover `providerId === "petals"` branch in providerAllowsOptionalApiKey. - Removed tests for the now-deleted providers: executor-petals.test.ts and poolside-provider.test.ts (REGISTRY.poolside was removed), and the petals / nanobanana validator assertions in provider-validation-specialty.test.ts, plus the stale petals catalog assertions in providers-page-utils.test.ts, proxy-connection-test.test.ts and providers-route-managed-catalog.test.ts. The image/video/embed registries for nanobanana/replicate/nomic are real and untouched — only the dead chat/api-key surfaces were removed. 146/146 affected tests pass; typecheck / build clean.
* chore: remove 9 dead/unreachable free providers Verified via HTTP probe — API endpoints return 000/404/empty: - freetheai, enally, replicate, lepton, poolside, nomic - astraflow, petals, nanobanana (phantom: catalog but no registry) Also removed from: providerRegistry.ts, validation.ts, staticModels.ts, imageValidation.ts, open-sse/config/petals.ts * chore: remove dead astraflow providers Remove astraflow and astraflow-cn (UCloud) — API endpoints unreachable. Remaining dead providers (enally, freetheai, nanobanana, replicate, lepton, petals, poolside, nomic) have working main sites but dead API endpoints — need API keys. Will remove in follow-up. * chore: remove 9 dead/unreachable free providers Removed: freetheai, enally, replicate, lepton, poolside, nomic, astraflow, petals, nanobanana All verified as dead via live API probes (000/404/empty responses). Cleaned from providers.ts, providerRegistry.ts, validation.ts, staticModels.ts, and imageValidation.ts. --------- Co-authored-by: oyi77 <oyi77@users.noreply.github.com>
…r + stale tests) diegosouzapw#3054 ("remove 9 dead/unreachable free providers") removed the petals/nanobanana configs, registry entries and validators but left dangling references that broke the build and the unit suite on release/v3.8.8: - open-sse/executors/petals.ts imported the deleted ../config/petals.ts (webpack "Module not found" → `next build` failed). Removed the executor, its registration + re-export in executors/index.ts, and the leftover `providerId === "petals"` branch in providerAllowsOptionalApiKey. - Removed tests for the now-deleted providers: executor-petals.test.ts and poolside-provider.test.ts (REGISTRY.poolside was removed), and the petals / nanobanana validator assertions in provider-validation-specialty.test.ts, plus the stale petals catalog assertions in providers-page-utils.test.ts, proxy-connection-test.test.ts and providers-route-managed-catalog.test.ts. The image/video/embed registries for nanobanana/replicate/nomic are real and untouched — only the dead chat/api-key surfaces were removed. 146/146 affected tests pass; typecheck / build clean.
…0216) The Poolside entry landed with an empty `models` list because the public matrix could only reach the unauthenticated endpoint, which answers 401 `No Authorization header provided` — the same response that a generic probe once read back as "invalid key" and that got the provider dropped (#2723, #3054). An authenticated probe against `/v1/models` (2026-08-07, #9085) returned 200 and the full Preview catalog, so the two models are now static: poolside/laguna-xs-2.1 Laguna XS 2.1 poolside/laguna-s-2.1 Laguna S 2.1 Both report 262144 context, 32768 max completion tokens, `tools` and `reasoning`, and are text-only and free during Preview. The XS id is the catalog form; the `laguna-xs.2` variant circulating in third-party listings does not address this host. `passthroughModels` stays on, so live discovery still admits models the Preview adds later. Closes #9085
* chore: remove 9 dead/unreachable free providers Verified via HTTP probe — API endpoints return 000/404/empty: - freetheai, enally, replicate, lepton, poolside, nomic - astraflow, petals, nanobanana (phantom: catalog but no registry) Also removed from: providerRegistry.ts, validation.ts, staticModels.ts, imageValidation.ts, open-sse/config/petals.ts * chore: remove dead astraflow providers Remove astraflow and astraflow-cn (UCloud) — API endpoints unreachable. Remaining dead providers (enally, freetheai, nanobanana, replicate, lepton, petals, poolside, nomic) have working main sites but dead API endpoints — need API keys. Will remove in follow-up. * chore: remove 9 dead/unreachable free providers Removed: freetheai, enally, replicate, lepton, poolside, nomic, astraflow, petals, nanobanana All verified as dead via live API probes (000/404/empty responses). Cleaned from providers.ts, providerRegistry.ts, validation.ts, staticModels.ts, and imageValidation.ts. --------- Co-authored-by: oyi77 <oyi77@users.noreply.github.com>
…r + stale tests) diegosouzapw#3054 ("remove 9 dead/unreachable free providers") removed the petals/nanobanana configs, registry entries and validators but left dangling references that broke the build and the unit suite on release/v3.8.8: - open-sse/executors/petals.ts imported the deleted ../config/petals.ts (webpack "Module not found" → `next build` failed). Removed the executor, its registration + re-export in executors/index.ts, and the leftover `providerId === "petals"` branch in providerAllowsOptionalApiKey. - Removed tests for the now-deleted providers: executor-petals.test.ts and poolside-provider.test.ts (REGISTRY.poolside was removed), and the petals / nanobanana validator assertions in provider-validation-specialty.test.ts, plus the stale petals catalog assertions in providers-page-utils.test.ts, proxy-connection-test.test.ts and providers-route-managed-catalog.test.ts. The image/video/embed registries for nanobanana/replicate/nomic are real and untouched — only the dead chat/api-key surfaces were removed. 146/146 affected tests pass; typecheck / build clean.
…egosouzapw#10216) The Poolside entry landed with an empty `models` list because the public matrix could only reach the unauthenticated endpoint, which answers 401 `No Authorization header provided` — the same response that a generic probe once read back as "invalid key" and that got the provider dropped (diegosouzapw#2723, diegosouzapw#3054). An authenticated probe against `/v1/models` (2026-08-07, diegosouzapw#9085) returned 200 and the full Preview catalog, so the two models are now static: poolside/laguna-xs-2.1 Laguna XS 2.1 poolside/laguna-s-2.1 Laguna S 2.1 Both report 262144 context, 32768 max completion tokens, `tools` and `reasoning`, and are text-only and free during Preview. The XS id is the catalog form; the `laguna-xs.2` variant circulating in third-party listings does not address this host. `passthroughModels` stays on, so live discovery still admits models the Preview adds later. Closes diegosouzapw#9085
9 providers verified dead via HTTP probe. 221 lines deleted.