logancyang / obsidian-copilot

THE Copilot in Obsidian
https://www.obsidiancopilot.com/
GNU Affero General Public License v3.0
3.08k stars 217 forks source link

'Index not loaded' #837

Open chriswhite5918 opened 3 days ago

chriswhite5918 commented 3 days ago

Copilot version: 2.7.2

Describe how to reproduce

I’m using the desktop version. After installing the plugin, configuring the API, and restarting the plugin as instructed, I found that QA mode isn’t working, with the message 'Index not loaded.' Restarting the plugin didn’t help either. I tried forcing the index using a shortcut, but it showed the message 'Indexing is disabled on mobile devices.'

I then created a new empty vault and only installed your plugin, but the result was the same.

Expected behavior

The expected outcome should be that indexing works normally. Even if there’s an issue with the API, it should indicate an API-related problem rather than saying 'Indexing is disabled on mobile devices.

Screenshots

Obsidian_soOE1ipKkR Obsidian_3cKrDo2nQe Obsidian_4VgcUryLxb
logancyang commented 3 days ago

825 was merged. Should be fixed in the next release v2.7.3.

In the meantime the solution is to refresh with the dev console open.

chriswhite5918 commented 3 days ago

825 was merged. Should be fixed in the next release v2.7.3.

In the meantime the solution is to refresh with the dev console open. I updated to version 2.7.3, but the same issue persists. Then I tried shortcuts like Ctrl+R and Ctrl+Shift+R to refresh with dev console open, but the issue still remains after refreshing.

Obsidian_pRCc08V0px
logancyang commented 3 days ago

@chriswhite5918 Could you turn on debug mode as the issue template suggests? The debug messages might help. For now I can't reproduce this behavior on my end.

What's your OS and what embedding model do you have?

chriswhite5918 commented 4 hours ago

@chriswhite5918 Could you turn on debug mode as the issue template suggests? The debug messages might help. For now I can't reproduce this behavior on my end.

What's your OS and what embedding model do you have?

OS: Windows 11 Pro 26100.2314 embedding: text-embedding-3-small Looks like the latest version fixed the 'Index not loaded' bug. It seems my model is having issues with this plugin, though it's working fine on Dify. I might need to spend some time figuring out what's going on.

logancyang commented 4 hours ago

@chriswhite5918 what model are you using?