Core Release v1.4.6
- feat: added response header forwarding for providers
- feat: added streaming compression support for providers
- feat: added bedrock invoke and count tokens support
- feat: added gzip compression for azure speech streams
- feat: add Azure DefaultAzureCredential support — use managed identity when no API key or Entra ID credentials provided
- feat: add Bedrock STS AssumeRole support (role_arn, external_id, session_name) in key config for cross-account access
- fix: standardized cached tokens handling across all providers
Breaking change. Cache tokens moved from usage top-level intoChatPromptTokensDetails(prompt_tokens_details) andResponsesResponseInputTokens(input_tokens_details), with standardized keys. If you have persisted data (logs, analytics, or custom storage), migrate: (1) moveusage.cache_read_input_tokens→usage.prompt_tokens_details.cached_read_tokensorusage.input_tokens_details.cached_read_tokens; (2) moveusage.cache_creation_input_tokens→usage.prompt_tokens_details.cached_write_tokensorusage.input_tokens_details.cached_write_tokens.
- fix: handle nil properties in tool function parameters
- fix: fixed logprobs JSON tag in BifrostResponseChoice (thanks @robechun!)
- fix: added proper status check for openrouter keys
Installation
go get github.com/maximhq/bifrost/core@v1.4.6This release was automatically created from version file: core/version