diff --git a/examples/pipelines/providers/litellm_manifold_pipeline.py b/examples/pipelines/providers/litellm_manifold_pipeline.py index 40c891cb..0b6771fa 100644 --- a/examples/pipelines/providers/litellm_manifold_pipeline.py +++ b/examples/pipelines/providers/litellm_manifold_pipeline.py @@ -70,7 +70,7 @@ def get_litellm_models(self): print(f"Error: {e}") return [ { - "id": self.id, + "id": "error", "name": "Could not fetch models from LiteLLM, please update the URL in the valves.", }, ] diff --git a/examples/pipelines/providers/litellm_subprocess_manifold_pipeline.py b/examples/pipelines/providers/litellm_subprocess_manifold_pipeline.py index 4fab306f..4213c36a 100644 --- a/examples/pipelines/providers/litellm_subprocess_manifold_pipeline.py +++ b/examples/pipelines/providers/litellm_subprocess_manifold_pipeline.py @@ -173,7 +173,7 @@ def get_litellm_models(self): print(f"Error: {e}") return [ { - "id": self.id, + "id": "error", "name": "Could not fetch models from LiteLLM, please update the URL in the valves.", }, ]