diff --git a/src/index.ts b/src/index.ts index c3abed2db..0b953ad6b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -707,6 +707,7 @@ const _deployments_endpoints = new Set([ '/audio/translations', '/audio/speech', '/images/generations', + '/images/edits', ]); const API_KEY_SENTINEL = ''; diff --git a/src/lib/ResponsesParser.ts b/src/lib/ResponsesParser.ts index 780b779ff..8d762d5bb 100644 --- a/src/lib/ResponsesParser.ts +++ b/src/lib/ResponsesParser.ts @@ -1,5 +1,5 @@ import { OpenAIError } from '../error'; -import { type ChatCompletionTool } from '../resources'; +import type { ChatCompletionTool } from '../resources/chat/completions'; import { type FunctionTool, type ParsedContent,