open docs url
This commit is contained in:
parent
c2dd1df67a
commit
863cc481f9
1 changed files with 2 additions and 1 deletions
|
|
@ -420,11 +420,12 @@ export class Core {
|
|||
// But Jetbrains doesn't support transformers JS
|
||||
// So if a context provider needs it it will throw this error when the file isn't found
|
||||
if (e.message.includes("all-MiniLM-L6-v2")) {
|
||||
knownError = true;
|
||||
const toastOption = "See Docs";
|
||||
void this.ide
|
||||
.showToast(
|
||||
"error",
|
||||
`Set up an embeddings model to use ${name}`,
|
||||
`Set up an embeddings model to use @${name}`,
|
||||
toastOption,
|
||||
)
|
||||
.then((userSelection) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue