mirror of
https://github.com/open-webui/pipelines
synced 2025-05-12 16:40:45 +00:00
fix: ollama manifold example
This commit is contained in:
parent
32bf2a841f
commit
0b43a73996
@ -77,7 +77,7 @@ class Pipeline:
|
||||
|
||||
try:
|
||||
r = requests.post(
|
||||
url=f"{self.OLLAMA_BASE_URL}/v1/chat/completions",
|
||||
url=f"{self.valves.OLLAMA_BASE_URL}/v1/chat/completions",
|
||||
json={**body, "model": model_id},
|
||||
stream=True,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user