Skip to content
Discussion options

You must be logged in to vote

Hi @nallabolu ,

This is not a bug on your project. Two things are happening.

Your prompt triggers Agent mode to run long tool actions like create_file, which sometimes hang in Visual Studio. The chat output hits the model’s length limit, so Copilot truncates the reply with the “response is too long” message.

I suggest you try the following:

  • In Agent mode, cancel the request. Visual Studio documents canceling Agent runs and builds. Use the Cancel control in the chat, or stop the build with Build > Cancel or Ctrl + Break.

  • Use Visual Studio 2022 17.14 or later and the latest Copilot components. Agent mode and fixes ship in these builds.

  • Break the job into small steps, each with a short…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@nallabolu
Comment options

@Visrit3
Comment options

Comment options

You must be logged in to vote
2 replies
@nallabolu
Comment options

@dfinlen
Comment options

Answer selected by nallabolu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Visual Studio View and incorporate suggestions from GitHub Copilot directly within the Visual Code. Question Ask and answer questions about GitHub features and usage
6 participants