pepperoni21 / ollama-rs

A Rust library allowing to interact with the Ollama API.
MIT License
367 stars 47 forks source link

error sending request #17

Closed kaorlol closed 5 months ago

kaorlol commented 5 months ago

Error: Ollama error: error sending request for url (http://127.0.0.1:11434/api/generate): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)

using mistral:latest

pepperoni21 commented 5 months ago

Hey, did you make sure the Ollama server is running on port 11434 ?

kaorlol commented 5 months ago

Hey, did you make sure the Ollama server is running on port 11434 ?

How do I do that?

pepperoni21 commented 5 months ago

Hey, did you make sure the Ollama server is running on port 11434 ?

How do I do that?

You need to install ollama on your machine https://ollama.ai/download/linux