openai-node icon indicating copy to clipboard operation
openai-node copied to clipboard

Can the axios dependency please be bumped to a current release of axios?

Open duckdegen opened this issue 2 years ago • 1 comments

Describe the bug

Currently it uses axios ^0.26.0 while we are at axios 1.2.1

It's easy to mitigate, but feels really wrong to use such an old version which has a totally different type interface.

To Reproduce

Simply install the openai package and try and pass a current version of axios into the openai instance constructor

Code snippets

No response

OS

osx

Node version

node 19

Library version

openai 3.1.0

duckdegen avatar Dec 10 '22 13:12 duckdegen

Hi, Were you able to get past this? This is causing issue with docker builds

bads77 avatar Feb 21 '23 05:02 bads77

I encounter the same issue. Half year after this issue was opened, the openai's axios is still ^0.26.0, and axios has released 1.4.0. version.

grimmerk avatar Jun 09 '23 07:06 grimmerk

We have an upcoming version v4.0.0 that moves to fetch; please give it a try and let us know in the thread whether it suits your needs!

rattrayalex avatar Jun 27 '23 21:06 rattrayalex