feat(sap-ai-core): Add GPT-4.1, Gemini 2.5 Flash Lite, Perplexity Sonar, and Claude 4.6 models#1020
Merged
rekram1-node merged 2 commits intoanomalyco:devfrom Feb 28, 2026
Conversation
Add 5 new model definitions for SAP AI Core provider: - gpt-4.1: OpenAI GPT-4.1 (1M context, 32K output) - gpt-4.1-mini: OpenAI GPT-4.1 Mini (1M context, 32K output) - gemini-2.5-flash-lite: Google Gemini 2.5 Flash Lite (1M context, 65K output) - sonar: Perplexity Sonar (128K context, 4K output) - sonar-pro: Perplexity Sonar Pro (200K context, 8K output) All specs verified against official provider documentation.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds new SAP AI Core (Generative AI Hub) model definition TOMLs so the provider can advertise/support the latest OpenAI, Google, and Perplexity models via the unified SAP AI Core integration.
Changes:
- Add SAP AI Core model specs for
gpt-4.1andgpt-4.1-mini(OpenAI). - Add SAP AI Core model spec for
gemini-2.5-flash-lite(Google). - Add SAP AI Core model specs for
sonarandsonar-pro(Perplexity).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| providers/sap-ai-core/models/gpt-4.1.toml | Adds SAP AI Core metadata (limits/cost/modalities/features) for GPT‑4.1. |
| providers/sap-ai-core/models/gpt-4.1-mini.toml | Adds SAP AI Core metadata for GPT‑4.1 mini. |
| providers/sap-ai-core/models/gemini-2.5-flash-lite.toml | Adds SAP AI Core metadata for Gemini 2.5 Flash Lite. |
| providers/sap-ai-core/models/sonar.toml | Adds SAP AI Core metadata for Perplexity Sonar. |
| providers/sap-ai-core/models/sonar-pro.toml | Adds SAP AI Core metadata for Perplexity Sonar Pro. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add 7 new model definitions for the SAP AI Core provider:
gpt-4.1gpt-4.1-minigemini-2.5-flash-litesonarsonar-proanthropic--claude-4.6-opusanthropic--claude-4.6-sonnetDetails
All specifications have been verified against official provider documentation:
These models are available through SAP AI Core's generative AI hub, which provides access to various LLM providers via a unified API.