Skip to content

Commit e04da46

Browse files
authored
Better combined file search for GPT-4.1 (microsoft#253423)
* Better combined file search for GPT-4.1 * Fixing GPT-4.1 not writing instructions
1 parent 7ae696f commit e04da46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatActions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ Focus on discovering the essential knowledge that would help an AI agents be imm
847847
- Project-specific conventions and patterns that differ from common practices
848848
- Integration points, external dependencies, and cross-component communication patterns
849849
850-
Source existing AI conventions from: \`**/{.github/copilot-instructions.md,AGENT.md,AGENTS.md,CLAUDE.md,.cursorrules,.windsurfrules,.clinerules,.cursor/rules/**,.windsurf/rules/**,.clinerules/**,README.md}\`.
850+
Source existing AI conventions from \`**/{.github/copilot-instructions.md,AGENT.md,AGENTS.md,CLAUDE.md,.cursorrules,.windsurfrules,.clinerules,.cursor/rules/**,.windsurf/rules/**,.clinerules/**,README.md}\` (do one glob search).
851851
852852
Guidelines (read more at https://aka.ms/vscode-instructions-docs):
853853
- If \`.github/copilot-instructions.md\` exists, merge intelligently - preserve valuable content while updating outdated sections
@@ -857,7 +857,7 @@ Guidelines (read more at https://aka.ms/vscode-instructions-docs):
857857
- Document only discoverable patterns, not aspirational practices
858858
- Reference key files/directories that exemplify important patterns
859859
860-
After generating the initial instructions (in less than 20 tool calls, count down after each tool call), ask for feedback on any unclear or incomplete sections and iterate on the instructions based on their input.`;
860+
Update \`.github/copilot-instructions.md\` for the user, then ask for feedback on any unclear or incomplete sections to iterate.`;
861861

862862
await commandService.executeCommand('workbench.action.chat.open', {
863863
mode: 'agent',

0 commit comments

Comments
 (0)