workers-ai-provider@3.1.2
·
187 commits
to main
since this release
Patch Changes
- #400
8822603Thanks @threepointone! - Add early config validation tocreateWorkersAIthat throws a clear error when neither a binding nor credentials (accountId + apiKey) are provided. Widen all model type parameters (TextGenerationModels, ImageGenerationModels, EmbeddingModels, TranscriptionModels, SpeechModels, RerankingModels) to accept arbitrary strings while preserving autocomplete for known models.