Skip to content

Commit

Permalink
fix: Changes from lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-sdk-js committed Nov 14, 2024
1 parent bdc18d5 commit 120c0e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class AzureOpenAiChatCompletionStreamChunkResponse {
* @returns The message delta content.
*/
getDeltaContent(choiceIndex = 0): string | undefined | null {
return this.data.choices.find((c: any) => c.index === choiceIndex)
?.delta.content;
return this.data.choices.find((c: any) => c.index === choiceIndex)?.delta
.content;
}
}

0 comments on commit 120c0e9

Please sign in to comment.