Skip to content

feat (provider/gateway): add disallowPromptTraining provider option#13726

Open
jerilynzheng wants to merge 8 commits intomainfrom
feat/add-disallow-prompt-training
Open

feat (provider/gateway): add disallowPromptTraining provider option#13726
jerilynzheng wants to merge 8 commits intomainfrom
feat/add-disallow-prompt-training

Conversation

@jerilynzheng
Copy link

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

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)

🤖 Generated with Claude Code

mclenhard and others added 6 commits February 3, 2026 14:35
Merges disallowPromptTraining from #11994 into this PR and updates
zeroDataRetention/hipaaCompliant docs with improved descriptions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…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>
Improve zeroDataRetention docs with failure behavior and Pro/Enterprise
plan note. Mirror same structure for disallowPromptTraining docs with
Vercel agreement language. Fix double-replacement model version typos.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@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 23, 2026
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.

3 participants