Context provider "Active file" (ex Alt+Enter) doesn't work for unsaved files #2798
Closed
3 tasks done
Labels
area:context-providers
Relates to context providers
ide:vscode
Relates specifically to VS Code extension
kind:bug
Indicates an unexpected problem or unintended behavior
priority:medium
Indicates medium priority
Before submitting your bug report
Relevant environment info
Description
ContextProvider for active file (ex. when submitting prompt about the file in Chat with Alt+Enter) doesn't work for unsaved files. This happens despite the UI saying that it has been passed as context, however it is seen as an Object content, not visible by the model.
This is the behaviour I get:
I haven't tested if this is also the case for the Quick Edits (Ctrl+I) since my Ctrl+I isn't working due to another bug (#2346 , #2346 (comment) ).
To reproduce
Log output
No response
The text was updated successfully, but these errors were encountered: