mirror of
https://github.com/open-webui/pipelines
synced 2025-05-12 08:30:43 +00:00
fix: litellm pipelines
This commit is contained in:
parent
0f516bd95e
commit
b882dd79ff
@ -70,7 +70,7 @@ class Pipeline:
|
|||||||
print(f"Error: {e}")
|
print(f"Error: {e}")
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
"id": self.id,
|
"id": "error",
|
||||||
"name": "Could not fetch models from LiteLLM, please update the URL in the valves.",
|
"name": "Could not fetch models from LiteLLM, please update the URL in the valves.",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -173,7 +173,7 @@ class Pipeline:
|
|||||||
print(f"Error: {e}")
|
print(f"Error: {e}")
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
"id": self.id,
|
"id": "error",
|
||||||
"name": "Could not fetch models from LiteLLM, please update the URL in the valves.",
|
"name": "Could not fetch models from LiteLLM, please update the URL in the valves.",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user