Files
OmniRoute/tests/integration
Markus Hartung 65ab30ca98 fix(db): include local no-API-key providers in Qdrant embedding-model list (#11949)
The embedding-models route only treated a provider connection as "configured"
when it had a real apiKey or authType "oauth". Local/self-hosted providers
(ollama-local, lm-studio, vllm, etc.) connect through the connections route
with authType "apikey" but no apiKey — the connect form never asks for one
(src/shared/constants/providers/local.ts) — so an active local connection's
embedding models (embeddinggemma, nomic-embed-text, bge-m3 for ollama-local)
never surfaced in the dropdown even though the connection tested "Ativo".

Reuse the existing canonical providerAllowsOptionalApiKey() helper
(src/shared/constants/providers.ts) — already used for the identical
requiresApiKey check in src/app/api/providers/[id]/test/route.ts and across
the Zod validation schemas — instead of hardcoding a provider id list.
2026-08-29 05:45:02 -03:00
..
2026-07-04 13:00:30 -03:00
2026-05-10 00:55:06 -03:00
2026-07-02 10:47:13 -03:00
2026-07-29 15:18:55 -03:00
2026-05-23 01:46:59 -03:00