Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

fix: enable watsonx.ai on-prem provider for on-prem deployments (#2403)

Edwin Josebe34969c698b
diff --git a/src/config/model_providers.yaml b/src/config/model_providers.yaml
index 5f344fc96..851777d91 100644
--- a/src/config/model_providers.yaml
+++ b/src/config/model_providers.yaml
@@ -102,8 +102,8 @@ providers:
display_name: IBM watsonx.ai
badge: On-prem
modes:
- oss: false
- on_prem: false
+ oss: true
+ on_prem: true
saas: false # a cluster-hosted deployment has no place in multi-tenant SaaS
# Checked against a Cloud Pak for Data 5.x cluster, which serves exactly
# these two. Note the embedding id has no `-v2` suffix: `slate-30m-
diff --git a/tests/unit/known_failures.txt b/tests/unit/known_failures.txt
index 20a9d7c9a..413d5589c 100644
--- a/tests/unit/known_failures.txt
+++ b/tests/unit/known_failures.txt
@@ -20,10 +20,6 @@ tests/unit/api/test_model_providers_endpoint.py::test_oss_and_on_prem_still_publ
tests/unit/api/test_model_providers_endpoint.py::test_an_override_file_drives_the_payload
tests/unit/config/test_model_providers_config.py::test_shipped_defaults_keep_ollama_out_of_saas_only
tests/unit/config/test_model_providers_config.py::test_both_azure_providers_ship_in_every_mode
-tests/unit/enhancements/providers/watsonx/test_onprem.py::test_it_ships_on_prem_and_never_in_saas
-tests/unit/enhancements/providers/watsonx/test_onprem.py::test_its_models_come_from_config_not_ibm_clouds_price_table
-tests/unit/enhancements/providers/watsonx/test_onprem.py::test_the_picker_shows_what_the_cluster_serves
-tests/unit/enhancements/providers/watsonx/test_onprem.py::test_an_unreachable_cluster_keeps_the_configured_fallback
tests/unit/services/test_model_catalog.py::test_catalog_publishes_azure_ai_where_the_config_enables_it
tests/unit/services/test_model_catalog.py::test_azure_openai_is_the_row_that_carries_the_gpt_41_family
tests/unit/services/test_model_catalog.py::test_the_shipped_config_excludes_on_azure_as_well_as_openai