core/v1.5.21

maximhq/bifrostcore/v1.5.21Jun 16, 2026by akshaydeo

AI Summary

A core library update that fixes metadata preservation for tool calls (specifically for provider-specific data like Gemini thought_signature) and introduces new schema for Anthropic prompt-cache diagnostics.

Key Highlights

  • Preserve provider-specific tool-call metadata
  • Introduce Anthropic prompt-cache diagnostics schema

New Features

  • New CacheDiagnostics/CacheMissReason schema
  • Preserve extra_content on ChatAssistantMessageToolCall

Full Release Notes

## Core Release v1.5.21

- fix: preserve extra_content on ChatAssistantMessageToolCall so provider-specific tool-call metadata (e.g. Gemini thought_signature) round-trips losslessly through the gateway (thanks [@nghodkicisco](https://github.com/nghodkicisco)!)
- fix: surface Anthropic prompt-cache diagnostics (cache-diagnosis-2026-04-07 beta) via new CacheDiagnostics/CacheMissReason schema, reporting the first cache-prefix divergence point on chat and responses APIs

### Installation

```bash
go get github.com/maximhq/bifrost/core@v1.5.21
```

---
_This release was automatically created from version file: `core/version`_