twinny
twinny copied to clipboard
Infinite loading of FIM when in remote VSCode(SSH) having opened unsaved interactive Jupyter tab.
Describe the bug I'm using VSCode from a Windows machine connected to Linux via SSH. When there is an unsaved Interactive Jupyter window in the tabs list - Twinny gets stuck on autocomplete (in ALL tabs).
To Reproduce
- When in SSH remote window (not sure if this is important)
- Open Interactive Jupyter window (extension: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter) - Command Pallete ->
Jupyter: Create Interactive Window
- Go to any other tab and start typing (to trigger FIM)
- FIM doesn't stop loading (gets an error in logs)
Expected behavior FIM to work properly. (Maybe it should ignore the file that triggers an error?)
Logging
ERR cannot open vscode-remote://attached-container%2B7b22636f6e7461696e65724e616d65223a222f6a757079746572227d@ssh-remote%2Bc590/Interactive-1.interactive. Detail: Unable to read file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6a757079746572227d@ssh-remote+c590/Interactive-1.interactive' (Error: Unable to resolve nonexistent file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6a757079746572227d@ssh-remote+c590/Interactive-1.interactive'): CodeExpectedError: cannot open vscode-remote://attached-container%2B7b22636f6e7461696e65724e616d65223a222f6a757079746572227d@ssh-remote%2Bc590/Interactive-1.interactive. Detail: Unable to read file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6a757079746572227d@ssh-remote+c590/Interactive-1.interactive' (Error: Unable to resolve nonexistent file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6a757079746572227d@ssh-remote+c590/Interactive-1.interactive')
at o.$tryOpenDocument (vscode-file://vscode-app/c:/Users/edited/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2460:132808)
API Provider oobabooga
Chat or Auto Complete? FIM (auto complete)
Model Name starcoder2-15b
Desktop (please complete the following information):
- Windows 11 (VSCode client) -> SSH into Ubuntu 20.04 (VSCode server)
- Extension version: v3.16.2
- From VSCode -> About:
Version: 1.93.0 (user setup)
Commit: 4849ca9bdf9666755eb463db297b69e5385090e3
Date: 2024-09-04T13:02:38.431Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
Additional context Chat works normally though (without embeddings - their provider has always been broken for me)