You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nes: refactor prompt construction for extensibility (#1241)
* nes: refactor: get config from within computeEditWindowLinesRange
* nes: refactor: tagging
* nes: refactor: extract tagging current file into its own method
* nes: refactor: keep active document props in a single object
* nes: refactor: extract cursorLineOffset
* nes: refactor: more refactoring
* nes: extract language context computation
side effect that we now always await not when language context is enabled
* nes: refactor: move CurrentDocument to common/
* nes: refactor: abstract constructing messages
* nes: fix off by one
exportconstsystemPromptTemplate=`Your role as an AI assistant is to help developers complete their code tasks by assisting in editing specific sections of code marked by the ${PromptTags.EDIT_WINDOW.start} and ${PromptTags.EDIT_WINDOW.end} tags, while adhering to Microsoft's content policies and avoiding the creation of content that violates copyrights.
@@ -671,40 +665,62 @@ function expandRangeToPageRange(
0 commit comments