Skip to main content

Function: isSpeechProviderConfigured()

isSpeechProviderConfigured(entry, env?): boolean

Defined in: packages/agentos/src/io/speech/providerCatalog.ts:358

Whether an entry can be used with the given environment: an entry marked unavailable (available: false, which nothing implements) never is, as SpeechProviderResolver already treats it; a local entry needs no key; any other needs every one of its environment variables.

Parameters​

entry​

SpeechProviderCatalogEntry

env?​

Record<string, string | undefined> = process.env

Returns​

boolean