"lib/IsolatedGPT35TurboMutation/deleteFineTuneModel: AbortController is not defined"
Problem
Confirm this is a Node library issue and not an underlying OpenAI API issue - [X] This is an issue with the Node library Describe the bug What is this error? It works fine locally, but when deploying I get this error..: "lib/IsolatedGPT35TurboMutation/deleteFineTuneModel: AbortController is not defined" To Reproduce if (job.model_id) { if (!src.openAiKey) throw new Error('OpenAiKey not found'); const openai = new OpenAI({ apiKey: src.openAiKey }); const model = await openai.models.del(job.model_id); Code snippets _No response_ OS macOS Node version Node 18 Library version openai 4.0.8
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: "lib/IsolatedGPT35TurboMutation/deleteFineTuneModel: AbortController is not defined"
Thank you for reporting this. Where are you deploying to, and what are your deployment settings? Can you share a full traceback?
Trust Score
1 verification
- 1
Thank you for reporting this. Where are you deploying to, and what are your depl
Thank you for reporting this. Where are you deploying to, and what are your deployment settings?
- 2
Can you share a full traceback?
Can you share a full traceback?
Validation
Resolved in openai/openai-node GitHub issue #333. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep