File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ export interface ClientOptions {
10
10
/**
11
11
* Defaults to process.env['ANTHROPIC_API_KEY'].
12
12
*/
13
- apiKey ?: string | null ;
13
+ apiKey ?: string | null | undefined ;
14
14
15
15
/**
16
16
* Defaults to process.env['ANTHROPIC_AUTH_TOKEN'].
17
17
*/
18
- authToken ?: string | null ;
18
+ authToken ?: string | null | undefined ;
19
19
20
20
/**
21
21
* Override the default base URL for the API, e.g., "https://api.example.com/v2/"
@@ -84,8 +84,8 @@ export class Anthropic extends Core.APIClient {
84
84
/**
85
85
* API Client for interfacing with the Anthropic API.
86
86
*
87
- * @param {string | null } [opts.apiKey=process.env['ANTHROPIC_API_KEY'] ?? null]
88
- * @param {string | null } [opts.authToken=process.env['ANTHROPIC_AUTH_TOKEN'] ?? null]
87
+ * @param {string | null | undefined } [opts.apiKey=process.env['ANTHROPIC_API_KEY'] ?? null]
88
+ * @param {string | null | undefined } [opts.authToken=process.env['ANTHROPIC_AUTH_TOKEN'] ?? null]
89
89
* @param {string } [opts.baseURL=process.env['ANTHROPIC_BASE_URL'] ?? https://api.anthropic.com] - Override the default base URL for the API.
90
90
* @param {number } [opts.timeout=10 minutes] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
91
91
* @param {number } [opts.httpAgent] - An HTTP agent used to manage HTTP(s) connections.
You can’t perform that action at this time.
0 commit comments