Skip to content

Commit 5a2e51e

Browse files
committed
disable getCustomFilePickerForOrg
1 parent b28aedb commit 5a2e51e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

backend/src/find-files/request-files-prompt.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,14 @@ export async function requestRelevantFiles(
143143
// Check for organization custom file picker feature
144144
const requestContext = getRequestContext()
145145
const orgId = requestContext?.approvedOrgIdForRepo
146-
const customFilePickerConfig = await getCustomFilePickerConfigForOrg({
147-
orgId,
148-
isRepoApprovedForUserInOrg: requestContext?.isRepoApprovedForUserInOrg,
149-
logger,
150-
})
146+
const customFilePickerConfig = null satisfies Awaited<
147+
ReturnType<typeof getCustomFilePickerConfigForOrg>
148+
> as Awaited<ReturnType<typeof getCustomFilePickerConfigForOrg>>
149+
// const customFilePickerConfig = await getCustomFilePickerConfigForOrg({
150+
// orgId,
151+
// isRepoApprovedForUserInOrg: requestContext?.isRepoApprovedForUserInOrg,
152+
// logger,
153+
// })
151154

152155
const countPerRequest = 12
153156

0 commit comments

Comments
 (0)