From 42367c8b5de382d3e682f46678f35dd3e618e79d Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Sun, 24 Dec 2023 23:33:37 +0100 Subject: [PATCH] removed some unused variables --- src/openai-api.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openai-api.ts b/src/openai-api.ts index 4acddd5..dde1979 100644 --- a/src/openai-api.ts +++ b/src/openai-api.ts @@ -141,8 +141,6 @@ export async function openAIMakeRequest( tokens: 0, time: 0, }; - let data: OpenAICompletionResponse; - const is_stream: boolean = request_body.stream === true ? true : false; // format the request const request: RequestInit = {