diff --git a/plugins/openai/src/gpt.ts b/plugins/openai/src/gpt.ts index 9257224..aeb5af2 100644 --- a/plugins/openai/src/gpt.ts +++ b/plugins/openai/src/gpt.ts @@ -21,7 +21,7 @@ import { type ChatCompletionRole, type ChatCompletionTool, type CompletionChoice, -} from 'openai/resources/index'; +} from 'openai/resources/index.mjs'; import z from 'zod'; const API_NAME_MAP = {