Skip to content

v1.11.0

Choose a tag to compare

@stackbilt-admin stackbilt-admin released this 31 May 10:58
· 31 commits to main since this release

@stackbilt/llm-providers v1.11.0

Reliability and gateway-routing hardening. Additive APIs plus bug fixes from issues #61, #62, #63, #64, #65, and #67.

Added

  • Generated VERSION export synced from package.json during build/test/publish paths.
  • Streaming usage reconciliation across OpenAI, Groq, Cerebras, NVIDIA, Anthropic, and Cloudflare streams.
  • CircuitBreaker, CircuitBreakerManager, and ExhaustionRegistry persistence APIs for Workers KV/D1/Redis/Durable Objects.
  • Workload-aware model defaults via ModelWorkloadClass, ModelPreferenceMap, getRecommendedModelForWorkload(), and getProviderDefaultModelForWorkload().
  • Provider-agnostic TokenUsage.cacheWriteInputTokens for cache write/create telemetry.

Fixed

  • Vision requests now reject or skip providers that cannot process images instead of silently dropping image content.
  • Anthropic URL images now throw ConfigurationError instead of lossy placeholder conversion.

Validation

  • npm run typecheck
  • npm test (19 files, 421 tests)
  • npm run build
  • npm run test:package
  • npm audit --omit=dev