longy2k / obsidian-bmo-chatbot

Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) from Ollama, LM Studio, Anthropic, OpenAI, Mistral AI, and more for Obsidian.
https://ko-fi.com/longy2k
MIT License
261 stars 32 forks source link

Streaming setting linux #78

Open icf20 opened 1 month ago

icf20 commented 1 month ago
### Anything between here and the comment below will become the contents of the drop-in file

[Service]
Environment="OLLAMA_ORIGINS=*"

### Edits below this comment will be discarded

1 systemctl edit ollama.service

2 [Service] Environment="OLLAMA_ORIGINS=*"

3 systemctl daemon-reload 4 systemctl restart ollama

Syphdias commented 1 month ago

FYI: If you are using systemctl edit to modify a unit file (or an override for one), you do not need to use systemctl daemon-reload.

PS: Sorry for the fly-by