Skip to content

Commit

Permalink
chore: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed May 29, 2024
1 parent 116e01d commit 6d5a259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langchain-mistralai/src/llms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Either provide one via the "apiKey" field in the constructor, or set the "MISTRA
for (let i = 0; i < subPrompts.length; i += 1) {
const data = await (async () => {
if (this.streaming) {
let responseData: Array<
const responseData: Array<
{ choices: ChatCompletionResponseChoice[] } & Partial<
Omit<ChatCompletionResponse, "choices">
>
Expand Down Expand Up @@ -237,7 +237,7 @@ Either provide one via the "apiKey" field in the constructor, or set the "MISTRA
}
return responseData;
} else {
let responseData: Array<ChatCompletionResponse> = [];
const responseData: Array<ChatCompletionResponse> = [];
for (let x = 0; x < subPrompts[i].length; x += 1) {
const res = await this.completionWithRetry(
{
Expand Down

0 comments on commit 6d5a259

Please sign in to comment.