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

'Index not loaded' #837

Closed
2 tasks done
chriswhite5918 opened this issue Nov 22, 2024 · 6 comments
Closed
2 tasks done

'Index not loaded' #837

chriswhite5918 opened this issue Nov 22, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@chriswhite5918
Copy link

chriswhite5918 commented Nov 22, 2024

  • Disable all other plugins besides Copilot (required)
  • Screenshot of note + Copilot chat pane + dev console added (required)

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 logancyang added the bug Something isn't working label Nov 22, 2024
@logancyang
Copy link
Owner

logancyang commented Nov 22, 2024

#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
Copy link
Author

#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
Copy link
Owner

@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
Copy link
Author

chriswhite5918 commented Nov 26, 2024

@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
Copy link
Owner

@chriswhite5918 what model are you using?

@onaimad
Copy link

onaimad commented Nov 26, 2024

I have the same issue, even on latest version, when using a local model.
It seems API key is mandatory when using 3rd party provider of local model in QA mode. The exact same model works perfectly when added (w/out API key) in chat mode.
OS: Mac Os 15.1
local model: llama3.2-3b-instruct
url: http://localhost:1337 (Jan.ai)

Monitoring the log of the local model server, there are no requests being made if API key is not provided (in QA mode), whereas if using a random key (any string given it's not necessary) the request is sent correctly to the server but it obviously get rejected as the API key parameter is not needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants