Skip to content

Commit 21f2107

Browse files
RobertCraigiestainless-app[bot]
authored andcommitted
fix: correct imports
1 parent b093069 commit 21f2107

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/ResponsesParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { OpenAIError } from '../error';
2-
import { type ChatCompletionTool } from '../resources';
2+
import type { ChatCompletionTool } from '../resources/chat/completions';
33
import {
44
type FunctionTool,
55
type ParsedContent,

src/lib/responses/ResponseStream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
type ResponseCreateParamsBase,
55
type ResponseCreateParamsStreaming,
66
type ResponseStreamEvent,
7-
} from 'openai/resources/responses/responses';
7+
} from '../../resources/responses/responses';
88
import * as Core from '../../core';
99
import { APIUserAbortError, OpenAIError } from '../../error';
1010
import OpenAI from '../../index';

0 commit comments

Comments
 (0)