builder
builder copied to clipboard
Copilot Edit mode, optimized user experience
- After creating the project, jump to the code edit page, and wait for the code edit related tools to be loaded before returning
- If the returned result does not contain the use mcp tool, you need to build a user message that does not report an error
- 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
- 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
- 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
- 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.