Skip to content

Commit 530ae6c

Browse files
PickHubCopilot
andauthored
Lower AI search query cap from 2000 to 500 chars (#61481)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b1b0cbf commit 530ae6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// Maximum query length (chars) we will forward to cse-copilot. Larger
22
// payloads are almost always pasted docs pages or unrelated content
33
// and either time out or return no-answer. See github/cse-copilot#1214.
4-
export const MAX_QUERY_LENGTH = 2000
4+
export const MAX_QUERY_LENGTH = 500

0 commit comments

Comments
 (0)