Feat/add sap genai hub model provider#1263
Feat/add sap genai hub model provider#1263ashivadi wants to merge 3 commits intostrands-agents:mainfrom
Conversation
- Add SAPGenAIHubModel class with support for Nova, Claude, and Titan models - Implement streaming and non-streaming response handling - Add tool calling and structured output support - Include comprehensive unit tests (13 tests, 100% pass rate) - Follow project style guide and conventions The SAP GenAI Hub provider enables Strands Agents to work with models hosted on SAP BTP GenAI Hub, providing access to foundation models through SAP's AI Core infrastructure. Users need: pip install 'generative-ai-hub-sdk[all]'
|
Hey @ashivadi, Thank you so much for this PR and your contribution! We really appreciate the work you've put into this, and SAP GenAI Hub looks like a fantastic model provider integration. That said, we absolutely want to support your integration! We'd recommend one of these approaches:
Either way, we'd be happy to feature you on our documentation page as a supported model provider, giving you visibility to our community. You can find more details here. Would either of these approaches work for your use case? We're excited to see SAP GenAI Hub integrated with our ecosystem! |
Description
This PR provides access to SAP GenAI Hub model provider via strands. SAP GenAI Hub provides access to foundation models (Nova, Claude, Titan) via Bedrock through SAP's AI Core infrastructure.
SAP customers using SAP BTP with GenAI Hub currently use Strands Agents with their SAP-hosted models using DIY approach provided here https://github.com/aws-samples/sample-sap-genai-hub-bedrock/blob/main/util/strands_bedrock_sap_genai_hub.py.
Problem Statement
[FEATURE] Add SAP BTP GenAI Hub model provider support #1255
Documentation PR
strands-agents/docs#345
Type of Change
New feature
Testing
How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli
hatch run prepareChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.