Skip to content

Commit 00458ac

Browse files
authored
remove shim-types imports in custom code
1 parent 9b5c898 commit 00458ac

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/lib/AssistantStream.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
RunSubmitToolOutputsParamsBase,
1919
RunSubmitToolOutputsParamsStreaming,
2020
} from '../resources/beta/threads/runs/runs';
21-
import { type ReadableStream } from '../internal/shim-types';
2221
import { Stream } from '../streaming';
2322
import { APIUserAbortError, OpenAIError } from '../error';
2423
import {

src/lib/ChatCompletionStream.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
AbstractChatCompletionRunner,
1818
type AbstractChatCompletionRunnerEvents,
1919
} from './AbstractChatCompletionRunner';
20-
import { type ReadableStream } from '../internal/shim-types';
2120
import { Stream } from '../streaming';
2221
import OpenAI from '../index';
2322
import { ParsedChatCompletion } from '../resources/chat/completions';

src/lib/ChatCompletionStreamingRunner.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
type ChatCompletionCreateParamsStreaming,
44
} from '../resources/chat/completions';
55
import { RunnerOptions, type AbstractChatCompletionRunnerEvents } from './AbstractChatCompletionRunner';
6-
import { type ReadableStream } from '../internal/shim-types';
76
import { RunnableTools, type BaseFunctionsArgs } from './RunnableFunction';
87
import { ChatCompletionSnapshot, ChatCompletionStream } from './ChatCompletionStream';
98
import OpenAI from '../index';

0 commit comments

Comments
 (0)