From 6534e3620d7e2983e98b42cf95fa966deab1ab1d Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Thu, 31 Aug 2023 18:24:16 -0400 Subject: [PATCH] fix: revert import change which triggered circular import bug in webpack (#274) --- src/index.ts | 8 -------- src/resources/index.ts | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/index.ts b/src/index.ts index 4965cd4f7..e8013a515 100644 --- a/src/index.ts +++ b/src/index.ts @@ -220,14 +220,6 @@ export namespace OpenAI { export import Chat = API.Chat; - export import ChatCompletion = API.ChatCompletion; - export import ChatCompletionChunk = API.ChatCompletionChunk; - export import ChatCompletionMessage = API.ChatCompletionMessage; - export import ChatCompletionMessageParam = API.ChatCompletionMessageParam; - export import ChatCompletionCreateParams = API.ChatCompletionCreateParams; - export import ChatCompletionCreateParamsNonStreaming = API.ChatCompletionCreateParamsNonStreaming; - export import ChatCompletionCreateParamsStreaming = API.ChatCompletionCreateParamsStreaming; - export import Edits = API.Edits; export import Edit = API.Edit; export import EditCreateParams = API.EditCreateParams; diff --git a/src/resources/index.ts b/src/resources/index.ts index ced5114fa..0d9ab9935 100644 --- a/src/resources/index.ts +++ b/src/resources/index.ts @@ -1,7 +1,7 @@ // File generated from our OpenAPI spec by Stainless. -export * from './chat'; export { Audio } from './audio/audio'; +export { Chat } from './chat/chat'; export { Completion, CompletionChoice,