chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.57k stars 141 forks source link

[BUG] AI Assistant throws 404 before making any network calls #734

Closed rossoj85 closed 1 week ago

rossoj85 commented 2 months ago

Hi,

I am currently trying to set up AI assistant. I have watched your guide and have set up AI assistant accordingly. Once I select a prompt (template) it throws a 404 error immediately. I have tried with both Ollama and OpenAI. I investigated by opening the network tab in the console, and it appears that it is not even making a request before returning the error. I do not think the error is with Ollama, since I am successfully using it with other AI tools and it is probably an issue with my quicadd configuration. Any help would be appreciated. Thanks

image

image

image

alejandroarmas commented 1 month ago

I'm encountering the same issue.

image
chhoumann commented 1 week ago

Hi @rossoj85 and @alejandroarmas

Your Ollama host should be http://localhost:11434/v1.

For example: image