Skip to content

v1.4.19 cut#2430

Merged
akshaydeo merged 1 commit intomainfrom
03-31-v1.4.19_cut
Mar 31, 2026
Merged

v1.4.19 cut#2430
akshaydeo merged 1 commit intomainfrom
03-31-v1.4.19_cut

Conversation

@akshaydeo
Copy link
Copy Markdown
Contributor

@akshaydeo akshaydeo commented Mar 31, 2026

Summary

This release includes several bug fixes and new features, primarily focusing on Anthropic beta headers support, provider reliability improvements, and enhanced model metadata capabilities.

Changes

  • Fixed timeout status code handling - Standardized timeout error responses across all providers
  • Enhanced semantic cache - Preserved cached provider metadata during cross-provider cache hits to maintain consistency
  • Prevented content leakage - Fixed issue where reasoning text was incorrectly appearing in Gemini response content
  • Added Anthropic beta headers support - Implemented validation and filtering of anthropic-beta headers for Azure, Bedrock, and Vertex AI providers with configurable overrides
  • Added model details API - New /api/models/details endpoint providing model capability metadata
  • Fixed governance APIs - Properly populated customer virtual_keys in governance API responses
  • Improved enterprise model catalog - Enhanced sync reliability for enterprise deployments

Type of change

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Chore/CI

Affected areas

  • Core (Go)
  • Transports (HTTP)
  • Providers/Integrations
  • Plugins
  • UI (Next.js)
  • Docs

How to test

Validate the changes with the following steps:

# Core/Transports
go version
go test ./...

# Test Anthropic beta headers
curl -X POST /v1/chat/completions \
  -H "anthropic-beta: computer-use-2024-10-22" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-3-sonnet", "messages": [{"role": "user", "content": "Hello"}]}'

# Test model details endpoint
curl /api/models/details

# Test timeout handling
# Configure a provider with very low timeout and verify proper error codes

The beta headers feature can be configured via the Beta Headers tab in provider configuration or through beta_header_overrides in provider settings.

Screenshots/Recordings

Added documentation screenshots showing the Beta Headers configuration interface for:

  • AWS Bedrock Anthropic beta headers configuration
  • Azure Anthropic beta headers configuration
  • Vertex AI Anthropic beta headers configuration

Breaking changes

  • Yes
  • No

Related issues

This release addresses provider reliability and adds support for Anthropic's beta feature ecosystem across cloud providers.

Security considerations

  • Beta headers are validated and filtered to prevent unsupported features from being forwarded
  • Timeout handling improvements reduce potential for hanging requests
  • Model metadata endpoint follows existing authentication patterns

Checklist

  • I read docs/contributing/README.md and followed the guidelines
  • I added/updated tests where appropriate
  • I updated documentation where needed
  • I verified builds succeed (Go and UI)
  • I verified the CI pipeline passes locally if applicable

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

🧪 Test Suite Available

This PR can be tested by a repository admin.

Run tests for PR #2430

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 31, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9dbfa69f-0aa2-4ba1-bb35-8110a0c84e62

📥 Commits

Reviewing files that changed from the base of the PR and between a7f83b4 and 90ccf11.

⛔ Files ignored due to path filters (3)
  • docs/media/aws-bedrock-anthropic-beta-headers.png is excluded by !**/*.png
  • docs/media/azure-setting-anthropic-beta-headers.png is excluded by !**/*.png
  • docs/media/vertex-ai-setting-anthropic-beta-headers.png is excluded by !**/*.png
📒 Files selected for processing (28)
  • .github/workflows/scripts/run-migration-tests.sh
  • core/changelog.md
  • core/version
  • docs/providers/supported-providers/azure.mdx
  • docs/providers/supported-providers/bedrock.mdx
  • docs/providers/supported-providers/vertex.mdx
  • framework/changelog.md
  • framework/version
  • plugins/governance/changelog.md
  • plugins/governance/version
  • plugins/jsonparser/changelog.md
  • plugins/jsonparser/version
  • plugins/litellmcompat/changelog.md
  • plugins/litellmcompat/version
  • plugins/logging/changelog.md
  • plugins/logging/version
  • plugins/maxim/changelog.md
  • plugins/maxim/version
  • plugins/mocker/changelog.md
  • plugins/mocker/version
  • plugins/otel/changelog.md
  • plugins/otel/version
  • plugins/semanticcache/changelog.md
  • plugins/semanticcache/version
  • plugins/telemetry/changelog.md
  • plugins/telemetry/version
  • transports/changelog.md
  • transports/version

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Added /api/models/details endpoint for model capability metadata.
    • Added support for Anthropic beta feature headers.
  • Bug Fixes

    • Consistent timeout status-code handling across providers.
    • Removed Gemini “reasoning” content from responses.
    • Preserve cached provider metadata on cross-provider hits.
    • Populate customer.virtual_keys in governance APIs.
  • Documentation

    • Updated Beta Headers docs (Azure, Bedrock, Vertex) with UI illustrations.
  • Chores

    • FIPS-compliant Docker base image and CI/CD security updates.

Walkthrough

Release bump across core, framework, transports, and multiple plugins; added changelog entries and updated Anthropic beta header docs for Azure/Bedrock/Vertex. Migration test seed now includes calendar_aligned for governance budgets.

Changes

Cohort / File(s) Summary
Core & Framework
core/version, core/changelog.md, framework/version, framework/changelog.md
Core and framework version bumps (core 1.4.15→1.4.16, framework 1.2.34→1.2.35) and added changelog entries (timeout handling, cached metadata preservation, Gemini reasoning removal, models/details endpoint).
Transports
transports/version, transports/changelog.md
Version bump (1.4.18→1.4.19) with detailed changelog covering Model Details API, Anthropic beta header support, multiple fixes, and maintenance notes.
Plugins — versions & changelogs
plugins/governance/version, plugins/governance/changelog.md, plugins/jsonparser/..., plugins/litellmcompat/..., plugins/logging/..., plugins/maxim/..., plugins/mocker/..., plugins/otel/..., plugins/semanticcache/..., plugins/telemetry/...
Version increments across plugins (e.g., governance 1.4.34→1.4.35, jsonparser 1.4.33→1.4.34, litellmcompat 0.0.23→0.0.24, etc.) and small changelog entries (core/framework upgrade notes and targeted fixes).
Docs — Anthropic Beta Headers
docs/providers/supported-providers/azure.mdx, docs/providers/supported-providers/bedrock.mdx, docs/providers/supported-providers/vertex.mdx
Documentation updated to state Bifrost validates and drops unsupported anthropic-beta headers (vs. prior behavior), plus embedded UI screenshots illustrating supported/unsupported features and overrides.
Migration Test Seed
.github/workflows/scripts/run-migration-tests.sh
Added calendar_aligned column and values to governance_budgets SQL seed rows (explicit 0 and 1).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • danpiths

Poem

🐰 Hop, hop, hooray — the versions climb high,
Seeds sown for budgets beneath the sky,
Beta headers pruned with a careful paw,
Changelogs singing what code just saw,
A tiny rabbit cheers: release, oh my! 🥕

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 03-31-v1.4.19_cut

Comment @coderabbitai help to get the list of available commands and usage tips.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@akshaydeo akshaydeo marked this pull request as ready for review March 31, 2026 17:47
@akshaydeo akshaydeo requested a review from a team as a code owner March 31, 2026 17:47
@akshaydeo akshaydeo merged commit 7d89f2c into main Mar 31, 2026
14 of 16 checks passed
@akshaydeo akshaydeo deleted the 03-31-v1.4.19_cut branch March 31, 2026 17:48
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Mar 31, 2026

Confidence Score: 4/5

Safe to merge after fixing the boolean literal type mismatch in the migration test script.

One P1 defect: the new calendar_aligned INSERT values use integer literals 0/1 instead of false/true, which will cause the PostgreSQL migration test to error out. All other changes are version bumps, changelogs, and documentation which are straightforward and correct.

.github/workflows/scripts/run-migration-tests.sh — the calendar_aligned boolean values need to be changed from 0/1 to false/true.

Important Files Changed

Filename Overview
.github/workflows/scripts/run-migration-tests.sh Adds calendar_aligned column to the governance_budgets INSERT, but uses integer literals 0/1 instead of false/true, which will fail on PostgreSQL's native BOOLEAN type.
docs/providers/supported-providers/vertex.mdx Updates behavior description from "unsupported headers are rejected with a clear error" to "drops unsupported headers from the request"; adds a screenshot frame. Documentation accurately reflects the new silently-dropping behavior.
docs/providers/supported-providers/bedrock.mdx Updates beta-header behavior description to "drops unsupported headers" and adds screenshot frame; no issues found.
docs/providers/supported-providers/azure.mdx Updates beta-header behavior description to "drops unsupported headers" and adds screenshot frame; no issues found.
transports/changelog.md New changelog for transports v1.4.19, summarising all features and bug fixes in this release; no issues found.
core/changelog.md New changelog entries for core v1.4.16 covering timeout, semantic cache, Gemini content-leak, and beta-headers fixes; no issues found.

Reviews (1): Last reviewed commit: "v1.4.19 cut" | Re-trigger Greptile

Comment on lines +458 to +459
('budget-migration-test-1', 1000.00, 100.00, '1d', $now, 'budget-hash-001', $now, $now, 0),
('budget-migration-test-2', 5000.00, 250.00, '7d', $now, 'budget-hash-002', $now, $now, 1)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Integer literals 0/1 incompatible with PostgreSQL BOOLEAN column

The calendar_aligned column is defined in Go as bool with gorm:"default:false", which GORM maps to a native BOOLEAN type in PostgreSQL. PostgreSQL does not accept bare integer literals (0, 1) for BOOLEAN columns and will throw ERROR: column "calendar_aligned" is of type boolean but expression is of type integer, causing the PostgreSQL migration test to fail.

Every other boolean column in this same script uses false/true (e.g. send_back_raw_request/send_back_raw_response in the config_providers insert, and enabled in config_log_store), both of which are valid boolean literals accepted by PostgreSQL and modern SQLite (≥ 3.23.0) alike.

Suggested change
('budget-migration-test-1', 1000.00, 100.00, '1d', $now, 'budget-hash-001', $now, $now, 0),
('budget-migration-test-2', 5000.00, 250.00, '7d', $now, 'budget-hash-002', $now, $now, 1)
('budget-migration-test-1', 1000.00, 100.00, '1d', $now, 'budget-hash-001', $now, $now, false),
('budget-migration-test-2', 5000.00, 250.00, '7d', $now, 'budget-hash-002', $now, $now, true)

@coderabbitai coderabbitai Bot requested a review from danpiths March 31, 2026 18:05
This was referenced Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants