From aa8586549223e7219a97149528d725a6aa5b59f2 Mon Sep 17 00:00:00 2001 From: Giorgio Garasto Date: Tue, 14 May 2024 08:48:49 +0200 Subject: [PATCH] fix: missing esm import --- plugins/openai/src/gpt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {