diff --git a/devchat/ide/vscode_services.py b/devchat/ide/vscode_services.py index 0b9706c4..cb9a410e 100644 --- a/devchat/ide/vscode_services.py +++ b/devchat/ide/vscode_services.py @@ -136,7 +136,7 @@ def selected_lines(): # continue with the rest of the function return { - "filePath": "", + "filePath": file_path, "selectedText": "".join(_selected_lines), "selectedRange": [start_line, start_col, end_line, end_col], }