From e25a1891a4fe856c76d53d10c4531c9b3d28b05e Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Wed, 23 Oct 2024 18:10:05 +0200 Subject: [PATCH] Agent only seems to sort by reactions Fixes #6368 --- src/lm/tools/searchTools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lm/tools/searchTools.ts b/src/lm/tools/searchTools.ts index 573f3cbb62..5b6e571b15 100644 --- a/src/lm/tools/searchTools.ts +++ b/src/lm/tools/searchTools.ts @@ -90,7 +90,7 @@ You are an expert on GitHub issue search syntax. GitHub issues are always softwa - "repo" is often formated as "owner/name". If needed, the current repo is ${remote.owner}/${remote.repositoryName}. - Ignore display information. - Respond with only the query. -- Always include a "sort:" parameter. +- Always include a "sort:" parameter. If multiple sorts are possible, choose the one that the user requested. - Always include a property with the @me value if the query includes "me" or "my". - Here are some examples of valid queries: - repo:microsoft/vscode is:issue state:open sort:updated-asc