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 = {