brianpetro / obsidian-smart-connections

Chat with your notes & see links to related content with AI embeddings. Use local models or 100+ via APIs like Claude, Gemini, ChatGPT & Llama 3
https://smartconnections.app
GNU General Public License v3.0
2.19k stars 155 forks source link

error importing blocks #650

Open PhotoVisionProject opened 3 weeks ago

PhotoVisionProject commented 3 weeks ago

Suddenly, I'm experiencing difficulties with the Smart Connections plugin in Obsidian. I'm receiving the following error message in the console, and the plugin freezes:

error importing blocks plugin:smart-connections:2191 TypeError: Cannot read properties of undefined (reading 'length') at SmartNotes.import (plugin:smart-connections:2141:33) at Object.callback (plugin:smart-connections:2294:37) at HTMLButtonElement.eval (plugin:smart-connections:9477:18)

Could someone offer me advice on how to resolve this problem?

I use Version: 2.1.71 of the smart-connections plugin from Brian Petro. I also append some screenshots from the console ScreenShot_20240611201051 ScreenShot_20240611135329

upnix commented 2 weeks ago

I've also encountered this problem. It worked the first time using BGE-micro-v2, but then I gave it my OpenAI API key, and set it to Text-3 Large, and it's hung up like yours with the same error in the console.