Skip to content

docs(community-providers): update SAP AI Core provider#12083

Merged
lgrammel merged 7 commits intovercel:mainfrom
jerome-benoit:docs/update-sap-ai-provider
Jan 28, 2026
Merged

docs(community-providers): update SAP AI Core provider#12083
lgrammel merged 7 commits intovercel:mainfrom
jerome-benoit:docs/update-sap-ai-provider

Conversation

@jerome-benoit
Copy link
Copy Markdown
Contributor

@jerome-benoit jerome-benoit commented Jan 27, 2026

Summary

Updates the SAP AI Core community provider documentation to reference the actively maintained package.

Why This Change

The currently documented package (@mymediset/sap-ai-provider) has open PRs without response for over a month (PR #28 - LanguageModelV3 migration). The new package is actively maintained with regular releases.

Changes

  • Package update: @mymediset/sap-ai-provider@jerome-benoit/sap-ai-provider
  • Dual package support: Documents both V3 (AI SDK 5.x/6.x) and V2 (AI SDK 5.x) providers
  • Documentation rewrite: Harmonized with Vercel AI SDK conventions

Bug Fixes in New Package (since BITASIA v2.1.0)

  • Fix undefined assistant message content in tool-only responses
  • Fix topK and seed parameter handling
  • Fix nested modelParams propagation (deep merge)
  • Fix orchestration modules missing in streaming requests
  • Fix Jinja2 delimiter escaping conflicts with orchestration templates

New Features

  • Language Model V3 compliance (AI SDK 6.x)
  • Text embeddings support via .embeddingModel()
  • 595 tests with 92%+ coverage
  • Template escaping for SAP orchestration pipelines

Links

Copilot AI review requested due to automatic review settings January 27, 2026 21:17
@vercel-ai-sdk vercel-ai-sdk 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 provider/community labels Jan 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the SAP AI Core community provider documentation to reflect a package ownership change from @mymediset/sap-ai-provider to @jerome-benoit/sap-ai-provider. The documentation has been significantly streamlined and updated to showcase new features available in version 4.3.0+.

Changes:

  • Package reference updated from @mymediset/sap-ai-provider to @jerome-benoit/sap-ai-provider throughout all examples and documentation
  • Documentation restructured with more concise content while adding examples for embeddings, tool calling, data masking, and content filtering
  • Model list expanded from 40+ to 80+ models with updated model names and versions
  • Removed detailed migration guide and enterprise features sections

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jerome-benoit and others added 5 commits January 27, 2026 22:23
- Add table showing both NPM packages (V3 and V2)
- Clarify AI SDK version compatibility
- Add Document Grounding and Translation to features
- Remove detailed model list (refer to repo docs)
- Remove advanced examples (DPI, Content Filtering) to avoid duplication
- Link to V2 repository in Additional Resources
- Add NPM link to Additional Resources section
- Fix gemini-2.5-flash to gemini-2.0-flash (verified model name)
- Clarify sapai singleton import pattern with better comment
- Add version requirement note (v4.3.0+) in Package Versions section
- Add explanatory text for embedding model naming convention
- Add console.log output to examples for completeness
- Follow Ollama pattern for documenting two provider packages
- Add 'Choosing Your Provider' section like other multi-package providers
- Add separate Setup tabs for V3 and V2 packages
- Document provider options in standard format (baseURL, headers style)
- Add Language Models and Embedding Models sections (standard pattern)
- Add Model Capabilities table with Check/Cross icons
- Move third-party disclaimer to end as Note (standard placement)
- Remove Features bullet list (link to repo for details)
- Remove Package Versions table (non-standard format)
- Use 'ts' code blocks instead of 'typescript' (Vercel convention)
- Add Note components for important information
…ntions

- Use .embeddingModel() instead of .embedding() per AI SDK convention
- Add console.log to all code examples for completeness
- Add note about embedding model naming convention
- Add Resources section with NPM link
- Add version requirement note (v4.3.0+)
- Fix table alignment for model capabilities
@lgrammel lgrammel enabled auto-merge (squash) January 28, 2026 10:20
@lgrammel lgrammel merged commit 1efbcfc into vercel:main Jan 28, 2026
16 of 17 checks passed
B-Step62 pushed a commit to B-Step62/ai that referenced this pull request Jan 28, 2026
## Summary

Updates the SAP AI Core community provider documentation to reference
the actively maintained package.

## Why This Change

The currently documented package (`@mymediset/sap-ai-provider`) has open
PRs without response for over a month ([PR
vercel#28](BITASIA/sap-ai-provider#28) -
LanguageModelV3 migration). The new package is actively maintained with
regular releases.

## Changes

- **Package update**: `@mymediset/sap-ai-provider` →
`@jerome-benoit/sap-ai-provider`
- **Dual package support**: Documents both V3 (AI SDK 5.x/6.x) and V2
(AI SDK 5.x) providers
- **Documentation rewrite**: Harmonized with Vercel AI SDK conventions

## Bug Fixes in New Package (since BITASIA v2.1.0)

- Fix undefined assistant message content in tool-only responses
- Fix `topK` and `seed` parameter handling
- Fix nested `modelParams` propagation (deep merge)
- Fix orchestration modules missing in streaming requests
- Fix Jinja2 delimiter escaping conflicts with orchestration templates

## New Features

- **Language Model V3** compliance (AI SDK 6.x)
- **Text embeddings** support via `.embeddingModel()`
- **595 tests** with 92%+ coverage
- **Template escaping** for SAP orchestration pipelines

## Links

- **V3 Package**:
https://www.npmjs.com/package/@jerome-benoit/sap-ai-provider
- **V2 Package**:
https://www.npmjs.com/package/@jerome-benoit/sap-ai-provider-v2
- **Repository**: https://github.com/jerome-benoit/sap-ai-provider
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 provider/community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants