Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not generate text? #8

Open
avataraustin opened this issue Nov 2, 2023 · 2 comments
Open

Does not generate text? #8

avataraustin opened this issue Nov 2, 2023 · 2 comments

Comments

@avataraustin
Copy link

I installed Obsidian-ollama via Brat.
I have Ollama installed.
If I try to run a command like explain selection, etc. I get an emoji printed in my Obsidian note and nothing more.
I've tried with Ollama running a model like Mistral and without it running.
I'm not exactly sure what i'm doing wrong.

@avataraustin
Copy link
Author

In case others had this issue....
If I let Ollama run on my mac as a taskbar startup item and try to use the Obsidian plugin I get errors like above or 404.
If I quit Ollama and then run it from the command line and have it serve, it then successfully listens to requests. If I have the model running after manually serving Obsidian-ollama can then successfully generate.

@emanvidmaker
Copy link

emanvidmaker commented Dec 21, 2023

I had the same issue and i fixed by adding http:// to the address on settings
Also make sure it DOES NOT end with a /
Example http://###.###.###.###:11434
💡 : Replace ### with your ip

Also make sure that Ollama is exposed to your network, since mine was on a different machine. it caused a similar error early on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants