Skip to content

createIndeRunWeb

createIndeRunWeb(options): IndeRun

Creates a Web SDK instance with the configured providers registered.

Pass openAI for cloud execution, onnx for developer-supplied local models, systemModel for browser-managed on-device models, systemSpeech or neuralSpeech for speech, or any combination to let routing choose between them; at least one is required.

Use openAI.auth = "none" with a proxy endpoint for production browser apps so the OpenAI API key never ships to the client. Direct OpenAI calls require allowDirectOpenAIEndpoint and should resolve credentials through authContextRef and SecureStorageService.

CreateIndeRunWebOptions

Provider configuration and optional host service overrides.

IndeRun