builder icon indicating copy to clipboard operation
builder copied to clipboard

Copilot Edit mode, optimized user experience

Open go-wyvern opened this issue 10 months ago • 0 comments

  1. After creating the project, jump to the code edit page, and wait for the code edit related tools to be loaded before returning
  2. If the returned result does not contain the use mcp tool, you need to build a user message that does not report an error
  3. If the returned result contains more than one use mcp tool, you need to generate a user message to indicate which tool has been executed and which tool has not been executed
  4. After the tool involving file changes is successfully executed, you need to call the tool that queries the file content to query the result after the file change
  5. After the tool involving file changes is successfully executed, you need to call the query diagnostic information query structure to obtain whether there is any diagnostic error information
  6. System prompt optimization
  • It is necessary to require llm to return one and only one use mcp tool message for each message;
  • And explain the difference between chat mode and edit mode.
  • Add environment information every time it is sent to llm. Environment includes file list, running mode, etc.

go-wyvern avatar Apr 10 '25 08:04 go-wyvern