You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {string} [opts.baseURL=process.env['OPENAI_BASE_URL'] ?? https://api.openai.com/v1] - Override the default base URL for the API.
95
97
* @param {number} [opts.timeout=10 minutes] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
96
98
* @param {number} [opts.httpAgent] - An HTTP agent used to manage HTTP(s) connections.
97
99
* @param {Core.Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
@@ -101,6 +103,7 @@ export class OpenAI extends Core.APIClient {
101
103
* @param {boolean} [opts.dangerouslyAllowBrowser=false] - By default, client-side use of this library is not allowed, as it risks exposing your secret API credentials to attackers.
0 commit comments