your-papa / obsidian-Smart2Brain

An Obsidian plugin to interact with your privacy focused AI-Assistant making your second brain even smarter!
GNU Affero General Public License v3.0
417 stars 25 forks source link

Bug report: Failed to fetch #83

Open RikaGoldberg opened 3 months ago

RikaGoldberg commented 3 months ago

What happened?

[

image

](url)

Error Statement

[

image

](url)

Smart Second Brain Version

1.0.2

Debug Info

SYSTEM INFO: Obsidian version: v1.5.12 Installer version: v1.4.13 Operating system: Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64 22.6.0 Login status: not logged in Insider build toggle: off Live preview: on Base theme: adapt to system Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 1 Plugins enabled: 1 1: Smart Second Brain v1.0.2

RECOMMENDATIONS: Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Leo310 commented 3 months ago

Are you sure you set the correct OLLAMA_ORIGINS environment variable? How it's set is explained in the onboarding instructions when initially starting the plugin. If you set it correctly, could you open the Developer Console and send me a screenshot of the shown error?

Leo310 commented 3 months ago

Actually, to see the error in the Developer Console you first need to activate "Developer Console logging" in our plugin settings under "Advanced Settings". Then retry running the plugin.

lehcode commented 3 months ago

@Leo310, I confirm that the plugin is not working with any llama models. TypeError: Failed to fetch

image image image

Manu3232 commented 2 months ago

I have the same issue. When I first used the plugin, I set everything up and downloaded Llama 3, and everything worked fine. But the next time I started Obsidian, it didn't work anymore, and I got the same message as in the message above. actually, I was not sure if I had to start Ollama or the terminal again. But anyway, right now, it doesn't work.

Screenshot 2024-04-27 205807