mirror of
https://github.com/open-webui/pipelines
synced 2025-05-14 09:30:46 +00:00
fix: ollama manifold example
This commit is contained in:
parent
32bf2a841f
commit
0b43a73996
@ -77,7 +77,7 @@ class Pipeline:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
r = requests.post(
|
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},
|
json={**body, "model": model_id},
|
||||||
stream=True,
|
stream=True,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user