File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ export abstract class APIClient {
198198 maxRetries = 2 ,
199199 timeout = 600000 , // 10 minutes
200200 httpAgent,
201- fetch : overridenFetch ,
201+ fetch : overriddenFetch ,
202202 } : {
203203 baseURL : string ;
204204 maxRetries ?: number | undefined ;
@@ -211,7 +211,7 @@ export abstract class APIClient {
211211 this . timeout = validatePositiveInteger ( 'timeout' , timeout ) ;
212212 this . httpAgent = httpAgent ;
213213
214- this . fetch = overridenFetch ?? fetch ;
214+ this . fetch = overriddenFetch ?? fetch ;
215215 }
216216
217217 protected authHeaders ( opts : FinalRequestOptions ) : Headers {
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ describe('instantiate client', () => {
177177 expect ( client . apiKey ) . toBe ( 'My API Key' ) ;
178178 } ) ;
179179
180- test ( 'with overriden environment variable arguments' , ( ) => {
180+ test ( 'with overridden environment variable arguments' , ( ) => {
181181 // set options via env var
182182 process . env [ 'OPENAI_API_KEY' ] = 'another My API Key' ;
183183 const client = new OpenAI ( { apiKey : 'My API Key' } ) ;
You can’t perform that action at this time.
0 commit comments