Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Generate docs - fix an issue where the suggestion session was being overtaken#81537

Merged
akhera99 merged 5 commits intodotnet:mainfrom
akhera99:generate_docs_nre
Dec 5, 2025
Merged

Generate docs - fix an issue where the suggestion session was being overtaken#81537
akhera99 merged 5 commits intodotnet:mainfrom
akhera99:generate_docs_nre

Conversation

@akhera99
Copy link
Member

@akhera99 akhera99 commented Dec 3, 2025

The issue was that generate documentation was only intermittently starting a Suggestion Session.
This was tracked down to inline completions taking control of the Suggestion Session since it creates the session before making calls into the LLM, while our generate documentation was waiting until after.

The fix:
Had to create the Suggestion Session early and prior to calling nextHandler() so that we keep control. This also means we have to check earlier whether or not the trigger character is at the last slash to insert the doc comment.

@akhera99 akhera99 marked this pull request as ready for review December 4, 2025 18:36
@akhera99 akhera99 requested review from a team as code owners December 4, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants