-
Notifications
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"lib/IsolatedGPT35TurboMutation/deleteFineTuneModel: AbortController is not defined" #333
Comments
Thank you for reporting this. Where are you deploying to, and what are your deployment settings? Can you share a full traceback? |
Can you check whether this happens on |
Hi, I also cannot install any openai npmjs module over 3.3.0 thus am unable to call the correct api url for gpt-4 - receiving error on install ReferenceError: AbortController is not defined |
unable to resolve the ReferenceError: AbortController is not defined error when trying to install |
Can you please share what package version you are using, how you are running the code, and a traceback? |
Running node 18.18 W20230925-07:03:25.046(-4)? (STDERR) ReferenceError: AbortController is not defined |
@frankwo1 how are you installing and building your code? |
Confirm this is a Node library issue and not an underlying OpenAI API issue
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
The text was updated successfully, but these errors were encountered: