Files
OmniRoute/docs/i18n
diegosouzapw 2e85d80adf fix(validation): guard non-string apiKey/modelsUrl in connection test (#2463)
A corrupted or mis-typed credential (non-string apiKey, or a non-string
modelsUrl from providerSpecificData/registry) could throw
'TypeError: ... is not a function' when validation called .startsWith()/.trim()
during a provider connection test. Adds typeof guards in validateOpenAILikeProvider,
validateGeminiLikeProvider and validateSnowflakeProvider so validation returns a
clean { valid } result instead of crashing. Does not pinpoint the NVIDIA NIM
e.startsWith report (needs a stack trace), but hardens the whole class.
2026-05-21 09:49:47 -03:00
..

🌐 Multilingual Documentation — OmniRoute

Translations of documentation into 40 languages. Code blocks remain in English.