Try   HackMD

VsCode CONTINUE プラグインで No results found. If you think this is an error, re-index your codebase. とエラーになる 2025-03-13

  • CONTINUE に LM Studio のモデルを設定。
    • ※多分、LM Studio は関係ない。
  • VSCodeでCONTINUEを開き、Chatで、@Codebase 趣味に関する資料を要約して。 のようなプロンプトを投げると、以下のエラーが発生。
    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

回避方法(インデックスのデータベースを削除)

  • VsCodeを全て閉じる。

  • 以下を開く。

    ​​​​%USERPROFILE%\.continue\index
    

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

  • globalContext.json を開く

    ​​​​・・・ ​​​​}, ​​​​ "lastSelectedProfileForWorkspace": { ​​​​ "file:///g%3A/Obsidian": "local", ​​​​ "file:///g%3A/Obsidian/2025-03-13": "local" ​​​​ }, ​​​​ "lastSelectedOrgIdForWorkspace": {}, ​​​​ "failedDocs": [] ​​​​・・・
  • lastSelectedProfileForWorkspace の中身を削除する。

    ​​​​・・・ ​​​​}, ​​​​ "lastSelectedProfileForWorkspace": { ​​​​ }, ​​​​ "lastSelectedOrgIdForWorkspace": {}, ​​​​ "failedDocs": [] ​​​​・・・
  • index.sqliteindex.sqlite-shmindex.sqlite-walファイルを削除する。

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

  • lancedbフォルダの中身を削除する。

    • lancedb フォルダ自体を削除するとダメっぽい。
      Image Not Showing Possible Reasons
      • The image was uploaded to a note which you don't have access to
      • The note which the image was originally uploaded to has been deleted
      Learn More →
  • VsCodeを開きなおすと、再度インデックスの作成が行われる。

tags: CONTINUE VsCode エラー LM Studio