Remove BAM provider and ibm-generative-ai dependency#2826
Remove BAM provider and ibm-generative-ai dependency#2826harche wants to merge 1 commit intoopenshift:mainfrom
Conversation
The BAM (Big AI Model) provider depended on ibm-generative-ai, which was archived by IBM on March 7, 2025 with no releases since May 2024. It pins httpx<0.28, blocking adoption of modern Google Cloud SDKs (Vertex AI, google-genai) that require httpx>=0.28. BAM was IBM Research's internal LLM playground, superseded by WatsonX (which this project already supports via ibm-watsonx-ai). BAM was marked "not officially supported" in this project since August 2024 (PR openshift#1418). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@harche: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
ibm-generative-aidependencyibm-generative-aiwas archived by IBM on March 7, 2025 with no releases since May 2024httpx<0.28, which blocks adoption of modern Google Cloud SDKs (langchain-google-vertexai,google-genai,google-cloud-aiplatform) that requirehttpx>=0.28ibm-watsonx-ai)Motivation
Removing
ibm-generative-aiunpinshttpx<0.28, which enables adding support for:langchain-google-vertexai)httpx>=0.28See PR #2824 for context on the dependency conflict.
Changes
ols/src/llms/providers/bam.pyandtests/unit/llms/providers/test_bam.pyPROVIDER_BAM,BAMConfig,BAMParameters,BAMParametersMappingfrom constants, config, and provider modulesparse_bam_error()from error parsingibm-generative-aifrompyproject.tomland regeneratedrequirements.txttype: bamtotype: openaivalid_config_with_bam.yaml,valid_config_with_bam_2.yaml)Test plan
🤖 Generated with Claude Code