Skip to content

Commit

Permalink
langchain[patch],community[patch]: Fix lint warnings (#4323)
Browse files Browse the repository at this point in the history
* langchain[patch],community[patch]: Fix lint warnings

* chore: lint files
  • Loading branch information
bracesproul authored Feb 7, 2024
1 parent 645f32b commit 7aff244
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,15 @@ test("createOpenAIFunctionsAgent can stream log", async () => {
chunks.push(chunk);
}

if (!firstChunkTime) {
throw new Error("firstChunkTime was not set.");
}

console.log(chunks.length);
console.log();
console.log(
"Time to complete after first chunk:",
new Date().getTime() - firstChunkTime!
new Date().getTime() - firstChunkTime
);

console.log(chunks.length);
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-community/src/vectorstores/opensearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ interface FilterTypeValue {
lte?: number;
lt?: number;
regexp?: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
terms_set?: Record<string, any>;
wildcard?: string;
}
Expand Down

0 comments on commit 7aff244

Please sign in to comment.