fix: ollama manifold example

This commit is contained in:
Timothy J. Baek 2024-05-29 22:44:38 -07:00
parent 32bf2a841f
commit 0b43a73996

View File

@ -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,
)