Skip to content

feat (provider/gateway): add hipaaCompliant provider option#13614

Merged
mclenhard merged 1 commit intomainfrom
feat/add-hipaa-compliant-option
Apr 3, 2026
Merged

feat (provider/gateway): add hipaaCompliant provider option#13614
mclenhard merged 1 commit intomainfrom
feat/add-hipaa-compliant-option

Conversation

@jerilynzheng
Copy link
Copy Markdown
Contributor

Summary

  • Adds hipaaCompliant gateway provider option to restrict routing to providers that have signed a BAA with Vercel for HIPAA compliance
  • Includes schema definition, tests (hipaaCompliant alone + combined with zeroDataRetention), documentation with example, and ai-functions example
  • Also improves zeroDataRetention documentation with more detailed descriptions

Test plan

  • Verify hipaaCompliant option is passed through in provider options
  • Verify combined zeroDataRetention + hipaaCompliant options work together
  • Run gateway language model tests: cd packages/gateway && pnpm test

🤖 Generated with Claude Code

@tigent tigent bot added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation feature New feature or request provider/gateway Issues related to the @ai-sdk/gateway provider labels Mar 18, 2026
jerilynzheng added a commit to mclenhard/ai that referenced this pull request Mar 18, 2026
…tTraining

Remove hipaaCompliant option from this branch (moved to vercel#13614).
Update model versions in docs and drop unrelated formatting changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
shaper pushed a commit that referenced this pull request Apr 2, 2026
…tTraining

Remove hipaaCompliant option from this branch (moved to #13614).
Update model versions in docs and drop unrelated formatting changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
shaper pushed a commit that referenced this pull request Apr 2, 2026
…13726)

## Summary

- Adds `disallowPromptTraining` gateway provider option to restrict
routing to providers that have agreements with Vercel to not use prompts
for model training
- Includes schema definition, test, documentation with example, and
ai-functions example
- Updates `zeroDataRetention` docs with improved descriptions and
Pro/Enterprise plan note
- Updates model references throughout gateway docs to latest versions
(sonnet-4.6, gpt-5.4, etc.)

## Related

- hipaaCompliant separated into #13614
- Supersedes #12230

## Checklist

- [x] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: mat lenhard <mclenhard@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
vercel-ai-sdk bot pushed a commit that referenced this pull request Apr 2, 2026
…13726)

## Summary

- Adds `disallowPromptTraining` gateway provider option to restrict
routing to providers that have agreements with Vercel to not use prompts
for model training
- Includes schema definition, test, documentation with example, and
ai-functions example
- Updates `zeroDataRetention` docs with improved descriptions and
Pro/Enterprise plan note
- Updates model references throughout gateway docs to latest versions
(sonnet-4.6, gpt-5.4, etc.)

## Related

- hipaaCompliant separated into #13614
- Supersedes #12230

## Checklist

- [x] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: mat lenhard <mclenhard@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jerilynzheng jerilynzheng force-pushed the feat/add-hipaa-compliant-option branch from f3719ea to 76941c9 Compare April 3, 2026 20:15
Add hipaaCompliant option to restrict routing to providers with a BAA
signed with Vercel for HIPAA compliance. Includes schema, tests, docs,
and example.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jerilynzheng jerilynzheng force-pushed the feat/add-hipaa-compliant-option branch from 76941c9 to 8cce4c2 Compare April 3, 2026 20:45
@mclenhard mclenhard marked this pull request as ready for review April 3, 2026 20:48
@mclenhard mclenhard self-requested a review April 3, 2026 20:53
@mclenhard mclenhard merged commit 71b0e7d into main Apr 3, 2026
19 checks passed
@mclenhard mclenhard deleted the feat/add-hipaa-compliant-option branch April 3, 2026 21:44
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

vercel-ai-sdk bot commented Apr 3, 2026

🚀 Published in:

Package Version
ai 7.0.0-beta.64
@ai-sdk/angular 3.0.0-beta.64
@ai-sdk/gateway 4.0.0-beta.34
@ai-sdk/langchain 3.0.0-beta.64
@ai-sdk/llamaindex 3.0.0-beta.64
@ai-sdk/otel 1.0.0-beta.10
@ai-sdk/react 4.0.0-beta.64
@ai-sdk/rsc 3.0.0-beta.65
@ai-sdk/svelte 5.0.0-beta.64
@ai-sdk/vue 4.0.0-beta.64

@mclenhard mclenhard added the backport Admins only: add this label to a pull request in order to backport it to the prior version label Apr 3, 2026
vercel-ai-sdk bot pushed a commit that referenced this pull request Apr 3, 2026
## Summary

- Adds `hipaaCompliant` gateway provider option to restrict routing to
providers that have signed a BAA with Vercel for HIPAA compliance
- Includes schema definition, tests (hipaaCompliant alone + combined
with zeroDataRetention), documentation with example, and ai-functions
example
- Also improves `zeroDataRetention` documentation with more detailed
descriptions

## Test plan

- [ ] Verify `hipaaCompliant` option is passed through in provider
options
- [ ] Verify combined `zeroDataRetention` + `hipaaCompliant` options
work together
- [ ] Run gateway language model tests: `cd packages/gateway && pnpm
test`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel-ai-sdk vercel-ai-sdk bot removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Apr 3, 2026
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

vercel-ai-sdk bot commented Apr 3, 2026

✅ Backport PR created: #14128

vercel-ai-sdk bot added a commit that referenced this pull request Apr 4, 2026
…#14128)

This is an automated backport of #13614 to the release-v6.0 branch. FYI
@jerilynzheng

Co-authored-by: Jerilyn Zheng <zheng.jerilyn@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation feature New feature or request provider/gateway Issues related to the @ai-sdk/gateway provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants