Skip to content

Commit 0fcf834

Browse files
committed
update
1 parent 5b2d433 commit 0fcf834

File tree

5 files changed

+48
-8
lines changed

5 files changed

+48
-8
lines changed

web/package-lock.json

Lines changed: 44 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"lint": "next lint",
1111
"lint:unused": "eslint --ext .js,.jsx,.ts,.tsx --rule 'unused-imports/no-unused-imports: error' --quiet --fix=false src/",
1212
"lint:fix-unused": "eslint --ext .js,.jsx,.ts,.tsx --rule 'unused-imports/no-unused-imports: error' --quiet --fix src/",
13+
"lint:fix-unused-vars": "eslint --ext .js,.jsx,.ts,.tsx --fix --quiet src/",
1314
"test": "jest"
1415
},
1516
"dependencies": {
@@ -105,7 +106,8 @@
105106
"eslint-plugin-unused-imports": "^4.1.4",
106107
"jest": "^29.7.0",
107108
"prettier": "2.8.8",
108-
"ts-jest": "^29.2.5"
109+
"ts-jest": "^29.2.5",
110+
"ts-unused-exports": "^11.0.1"
109111
},
110112
"overrides": {
111113
"react-is": "^19.0.0-rc-69d4b800-20241021"

web/src/app/admin/configuration/llm/LLMProviderUpdateForm.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ export function LLMProviderUpdateForm({
128128
initialValues={initialValues}
129129
validationSchema={validationSchema}
130130
onSubmit={async (values, { setSubmitting }) => {
131-
alert("onSubmit");
132131
setSubmitting(true);
133132

134133
values.api_key_changed = values.api_key !== initialValues.api_key;

web/src/app/admin/connector/[ccPairId]/IndexingAttemptsTable.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ import {
2626
TooltipTrigger,
2727
} from "@/components/ui/tooltip";
2828

29-
const ITEMS_PER_PAGE = 8;
30-
const PAGES_PER_BATCH = 8;
31-
3229
export interface IndexingAttemptsTableProps {
3330
ccPair: CCPairFullInfo;
3431
indexAttempts: IndexAttemptSnapshot[];
@@ -38,7 +35,6 @@ export interface IndexingAttemptsTableProps {
3835
}
3936

4037
export function IndexingAttemptsTable({
41-
ccPair,
4238
indexAttempts,
4339
currentPage,
4440
totalPages,

web/src/lib/search/streamingUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const processSingleChunk = <T extends NonEmptyObject>(
1111
// every complete chunk should be valid JSON
1212
const chunkJson = JSON.parse(completeChunk);
1313
return [chunkJson, null];
14-
} catch (err) {
14+
} catch {
1515
// if it's not valid JSON, then it's probably an incomplete chunk
1616
return [null, completeChunk];
1717
}

0 commit comments

Comments
 (0)